Nitro For Vehicle - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Nitro For Vehicle (
/showthread.php?tid=181405)
Nitro For Vehicle -
zoolon23 - 05.10.2010
hey all!
i have car system and i want to use nitro in the vehicles.
i does it?
PHP код:
else if(dini_Int(CarFile(vehicleid),"Nitro") != 0) return AddVehicleComponent(vehicleid,1010);
in the public OnVehicleSpawn and if the new Nitro on 1 its not do anything!
why
please Help!
Re: Nitro For Vehicle -
Sascha - 05.10.2010
add it at: "OnPlayerEnterVehicle"
maybe this helps
Re: Nitro For Vehicle -
zoolon23 - 05.10.2010
yes bot if some player use the nitro and when it over he go out from the vehicle and back in and he have nitro...
he need to wait... :/
Re: Nitro For Vehicle -
Mike_Peterson - 05.10.2010
hmm, and what if u just add it on vehicle spawn and this
Код:
else if(dini_Int(CarFile(vehicleid),"Nitro") > 0) AddVehicleComponent(vehicleid,1010);