SA-MP Forums Archive
Where to Start with Creating a Fire System - 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: Where to Start with Creating a Fire System (/showthread.php?tid=487168)



Where to Start with Creating a Fire System - nmader - 12.01.2014

Hello there once again,

Today I have begun to try to create a fire system for the fire department faction for the server I am currently scripting. I would like this fire to be able to spread to relatively-close locations. How should I go about doing this?

Best Wishes,
Nmader


Re: Where to Start with Creating a Fire System - xZdadyZx - 12.01.2014

define fire and their effect. Make script to sprade fire around every 50000 miliseconds (5secs) around. Also you will new float. Onplayercommand text create defined fire. If (this is example) there is no fire truck inrangeofpoint (point is in this case fire) after 5 seconds it will make fire bigger and bigger...