How to check if a specific vehicleid is getting damaged
#1

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:
PHP код:
public OnVehicleDamageStatusUpdate(vehicleidplayerid)
{
    if(
vehicleid VID)//VID = Specific Vehicle ID
    
{
          
RepairVehicle(vid);
    }
    return 
1;

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?
Reply


Messages In This Thread
How to check if a specific vehicleid is getting damaged - by techg9 - 19.04.2013, 15:18
Re: How to check if a specific vehicleid is getting damaged - by techg9 - 19.04.2013, 15:26
Re: How to check if a specific vehicleid is getting damaged - by techg9 - 19.04.2013, 15:33
Re: How to check if a specific vehicleid is getting damaged - by Vince - 19.04.2013, 15:39
Re: How to check if a specific vehicleid is getting damaged - by YesYesYes - 19.04.2013, 15:40

Forum Jump:


Users browsing this thread: 2 Guest(s)