Nitro For Vehicle
#1

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!
Reply
#2

add it at: "OnPlayerEnterVehicle"
maybe this helps
Reply
#3

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... :/
Reply
#4

hmm, and what if u just add it on vehicle spawn and this
Код:
else if(dini_Int(CarFile(vehicleid),"Nitro") > 0) AddVehicleComponent(vehicleid,1010);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)