SA-MP Forums Archive
Creating Fire ? How would I do so - 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: Creating Fire ? How would I do so (/showthread.php?tid=314924)



Creating Fire ? How would I do so - ShawnMiller1337 - 01.02.2012

Im trying to make like a fire script for a fire department so like or some sort of military like function such as creating a fire or explosion on a given x y z coordinate , is there a function for this ? if so what if so not what could I use ?


Re: Creating Fire ? How would I do so - Babul - 01.02.2012

you can create some of the particle objects (open "SAMP/SAMP.ide" and search for "particle"):
Код:
18688, fire, MatTextures, 150, 0
18689, fire_bike, MatTextures, 100, 0
18690, fire_car, MatTextures, 100, 0
18691, fire_large, MatTextures, 100, 0
18692, fire_med, MatTextures, 100, 0
..sadly you cant create "native" samp fire which burns a player. you will need to script all that on your own, or better, goto the filterscripts section, there are some released working scripts already


Re: Creating Fire ? How would I do so - aco_SRBIJA - 01.02.2012

https://sampwiki.blast.hk/wiki/Explosion_List

pawn Код:
new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    CreateExplosion(x, y, z, 9, 10.0);
that fires a player. For example.


Re: Creating Fire ? How would I do so - Infinity - 01.02.2012

Quote:
Originally Posted by aco_SRBIJA
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Explosion_List

pawn Код:
new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    CreateExplosion(x, y, z, 9, 10.0);
that fires a player. For example.
That's an explosion, not a fire.