SA-MP Forums Archive
Fires - 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: Fires (/showthread.php?tid=485915)



Fires - Zombie18256 - 06.01.2014

Does any one know how to make fires IG? so that the FD can get calls and be able to put them out and ect

Would like structure fires, gas explosions and brush fires if possible


Re: Fires - Jstylezzz - 06.01.2014

You can gather coordinates and let the script pick one of the coords randomly. Just create a fire and explosions on the random coords, and let the script check if the player is a fireman and is putting the fire out with a fire truck (OnPlayerKeyStateChange and GetPlayerVehicleModel should do the trick for that).


Re: Fires - Zombie18256 - 06.01.2014

English please? lol im new at doing script work


Re: Fires - Jstylezzz - 06.01.2014

Quote:
Originally Posted by Zombie18256
Посмотреть сообщение
English please? lol im new at doing script work
Well, I'm not sure what part of my previous reply was not English. Can you clarify what part exactly you don't get? If you're that new at scripting, you might want to check out some tutorials and the pawn docs.