ivehicle class
This commit is contained in:
@@ -249,6 +249,13 @@ class RageVehicle extends RageEntity implements IVehicle {
|
||||
|
||||
this.vehicle.setDoorShut(door, instantly);
|
||||
}
|
||||
|
||||
get class(): number {
|
||||
if (mp.vehicles.exists(this.vehicle)) {
|
||||
return this.vehicle.getClass();
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user