SA-MP Forums Archive
Working fire system help + rep - 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: Working fire system help + rep (/showthread.php?tid=440549)



Working fire system help + rep - Guitar - 30.05.2013

How do i make a working fire system with smoke ect i will give you rep if you can help


Re: Working fire system help + rep - GiamPy. - 30.05.2013

You have to make use of SA-MP 0.3x particles.

If you wish to make the fire extinguishable you must make also use of GetPlayerCameraFrontVector checking if the coordinates match to the particle ones, and gradually decreasing the health variable of the fire checking if the KEY_FIRE has been pressed on OnPlayerKeyStateChange.