Help script 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)
+--- Thread: Help script for vehicle (
/showthread.php?tid=645079)
Help script for vehicle -
gtasamp2 - 19.11.2017
good afternoon, I would need to set the 200 life of the vehicle after the show.
Sorry for my english
Re: Help script for vehicle -
Ritzy2K - 19.11.2017
Can you please elaborate, All I could understand that you wanted to set the Vehicle's HP to 200.
SetVehicleHealth(vehicleid, 2000.00);
Re: Help script for vehicle -
Gameluner - 19.11.2017
But if you want 200 HP, not 20, you should use
SetVehicleHealth(vehicleid, 2000.00);
Re: Help script for vehicle -
gtasamp2 - 19.11.2017
My problem is where insert script in pawno?
Exist one function spawn vehicle after explosion ?
Re: Help script for vehicle -
Gameluner - 19.11.2017
I didn't understand your English.
Re: Help script for vehicle -
Baseball - 19.11.2017
After an explosion, each vehicle returns to its position, the fines will not be set otherwise.
Re: Help script for vehicle -
Ritzy2K - 19.11.2017
Why dont you loop through all the Vehicles when the vehicles are spawned, OnGamemodeInit?
Re: Help script for vehicle -
solstice_ - 19.11.2017
Quote:
Originally Posted by gtasamp2
My problem is where insert script in pawno?
Exist one function spawn vehicle after explosion ?
|
You need to create a vehicle first, did you?