SA-MP Forums Archive
[FilterScript] Simple /setfire command, [basic but fun ;p] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple /setfire command, [basic but fun ;p] (/showthread.php?tid=477227)



Simple /setfire command, [basic but fun ;p] - smowpow - 23.11.2013

Here is a /setfire command
what this does is when you type the command fire will set around your body,
No screenshots just imagine it..
download: https://www.dropbox.com/s/e104y6bdtmpe8hi/setfire.rar

Install:
Put this into your filterscripts folder
then open your server.cfg
and put in setfire on the filterscripts line.
Enjoy!


Re: Simple /setfire command, [basic but fun ;p] - erminpr0 - 23.11.2013

This is not filterscript, sorry.
You could put whole code into 6 lines :/

pawn Код:
if(!strcmp(cmdtext, "/setfire", true))
{
   SetPlayerAttachedObject(playerid, 3, 18688, 5, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
   SetPlayerAttachedObject(playerid, 4, 18688, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
   return 1;
}