19.04.2013, 15:18
Hey guys,
I was wondering if there is a way to check if a specific vehicle id is getting damaged.
I am trying to check a specific one because I am not comfy with calling the public onVehicleDamageStatusUpdate
each and every time someone gets damaged with his vehicle. for example:
That will call the public so many times and I assume will cause major lags.
So there is any way to check damage for a specific Car?
I was wondering if there is a way to check if a specific vehicle id is getting damaged.
I am trying to check a specific one because I am not comfy with calling the public onVehicleDamageStatusUpdate
each and every time someone gets damaged with his vehicle. for example:
PHP код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
if(vehicleid = VID)//VID = Specific Vehicle ID
{
RepairVehicle(vid);
}
return 1;
}
So there is any way to check damage for a specific Car?