update ragemp-c types for 1.1

This commit is contained in:
kookroach
2021-04-04 20:24:29 +02:00
parent f7423b24fc
commit 6ed6916f00
2 changed files with 71 additions and 225 deletions

View File

@@ -15,6 +15,13 @@ class RageEntity implements IEntity {
return this.entity.id;
}
get attachments(): number {
var color = this.entity.getVariable("nametagColor");
if (!color)
return 0;
return color;
}
get handle() {
return this.entity.handle;
}