SA-MP Forums Archive
Random 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Random Fire System (/showthread.php?tid=214843)



Random Fire System - The_J0ker - 22.01.2011

I need a little help on creating a random fire system that will start automatically and send a call out to the fire department that there is a fire at: blah and once they put it out that the objects delete them selves.

by fire system i mean using the 0.3c fire and smoke particles


Re: Random Fire System - [UG]Scripter - 22.01.2011

This is extremely easy search ... Use the CreateExplosion function


Re: Random Fire System - The_J0ker - 23.01.2011

how?


Re: Random Fire System - Steven82 - 23.01.2011

Why not use the new, particle objects in SA-MP 0.3c instead of explosions that kill people


Re: Random Fire System - bartje01 - 23.01.2011

I guess you could use these:

pawn Код:
18684   explosion_molotov

18688   fire

18694   flamethrower

18701   molotov_flame

18715   prt_smoke_huge
This are just CreateObject

You have to make the rest of the script yourself.
You need to make timers


Re: Random Fire System - The_J0ker - 23.01.2011

Quote:
Originally Posted by Steven82
Посмотреть сообщение
Why not use the new, particle objects in SA-MP 0.3c instead of explosions that kill people
thats what im trying to make but i'm being told to use explosions can you enlighten me on some code with the fire/smoke start sends the message to fire department and when they put the fire out kill the timers


Re: Random Fire System - bartje01 - 23.01.2011

Quote:
Originally Posted by The_J0ker
Посмотреть сообщение
thats what im trying to make but i'm being told to use explosions can you enlighten me on some code with the fire/smoke start sends the message to fire department and when they put the fire out kill the timers
It's impossible for samp that when you make the fire out the job is done.

Just make a timer where the fire object starts...