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



Fire - [Lsrcr]Policajac - 20.12.2011

With functions in 0.3d you can actually create proper dynamic burning fires in locations of your choosing.

That's right?



Re: Fire - park4bmx - 20.12.2011

Quote:
Originally Posted by [Lsrcr]Policajac
Посмотреть сообщение
With functions in 0.3d you can actually create proper dynamic burning fires in locations of your choosing.

That's right?
yes the fires were created in 0.3c actually but they will have no effect on the player!


Re: Fire - Steven82 - 20.12.2011

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
yes the fires were created in 0.3c actually but they will have no effect on the player!
They could, but you'd have to spend time coding it.


Re: Fire - Babul - 20.12.2011

theres an invisible object somewhere, spawn it as pickup at the fires location, and check for any player touching it. if so, decrease his health by 5 works, but the pickup code gets called not often enough, so a timer would make this a bit more precise (lose 0.1 HP each 100 ms for like 2 seconds, instead of losing 10 HP each time the pickup "triggers" after a few seconds)...


Re: Fire - [Lsrcr]Policajac - 21.12.2011

Well thanks!