SA-MP Forums Archive
HELP ME - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP ME (/showthread.php?tid=358275)



HELP ME - Bruno Alves - 10.07.2012

People with this code does not leave the vehicle suffers any damage, ie, neither visual nor motor ... but wanted him to be a command that would enable it would be off by $ 5000 and help, please.

Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
   new Float:Damage;
   if(GetVehicleHealth(vehicleid, Damage) < 1000)
   return RepairVehicle(vehicleid);
   return true;
}



Re: HELP ME - Devilxz97 - 10.07.2012

i dont understand ,
tell me step by step xD


Re: HELP ME - Bruno Alves - 10.07.2012

Whether that turn a CMD (command) that can ativalo (elenгo suffered more damage) or desativalo (the car back to normal)


Re: HELP ME - Devilxz97 - 10.07.2012

a cmd to damge the vehicle ? or set the vehicle healths ?


Re: HELP ME - Larceny - 10.07.2012

Quote:
Originally Posted by Bruno Alves
Посмотреть сообщение
Whether that turn a CMD (command) that can ativalo (elenгo suffered more damage) or desativalo (the car back to normal)
please, visit your language section as you can't even use a translator.