Auto Car Repair?
#6

Quote:
Originally Posted by TitanX
Посмотреть сообщение
why so much things ?

simply do this,

PHP код:
public OnVehicleDamageStatusUpdate(vehicleidplayerid)
{    
    if(
Autorepair[playerid])
    {
        
SetVehicleHealth(vehicleid1000);
        
RepairVehicle(vehicleid);
    }
    return 
1;

Wow, lol.
between got any idea why my code only setting vehicle health and not repairing it.

One more question: these mapping lines are pretty much annoying and waste of scrolling time. Is there anyhow I can save them somewhere else than include them in my gamemode? example would be good.
Reply


Messages In This Thread
Auto Car Repair? - by BlackbirdXd - 10.03.2017, 09:40
Re: Auto Car Repair? - by Toroi - 10.03.2017, 09:45
Re: Auto Car Repair? - by NaS - 10.03.2017, 10:55
Re: Auto Car Repair? - by BlackbirdXd - 10.03.2017, 15:01
Re: Auto Car Repair? - by TitanX - 10.03.2017, 15:09
Re: Auto Car Repair? - by BlackbirdXd - 10.03.2017, 18:12
Re: Auto Car Repair? - by TitanX - 10.03.2017, 18:22
Re: Auto Car Repair? - by BlackbirdXd - 10.03.2017, 18:26
Re: Auto Car Repair? - by NaS - 10.03.2017, 18:37
Re: Auto Car Repair? - by Toroi - 10.03.2017, 20:35

Forum Jump:


Users browsing this thread: 4 Guest(s)