SA-MP Forums Archive
[FilterScript] Flaming Hand - 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] Flaming Hand (/showthread.php?tid=448631)



Flaming Hand v1.2 - ahmad95 - 05.07.2013

Hey guys, today i fell bored so i got an idea to make a script called 'Flaming Hand'
I didn't upload it on pwn because it is too simple, enjoy




Version 1.1 (Two CMD)

Recommended Version 1.2 (One CMD)

Код:
#include <a_samp>
#include <zcmd>

new Flaming[MAX_PLAYERS];

CMD:flaminghand(playerid)
{
    if(Flaming[playerid] == 0)
    {
        Flaming[playerid] = 1;
	SetPlayerAttachedObject( playerid, 0, 18693, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 );
	SetPlayerAttachedObject( playerid, 1, 18693, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 );
	SetPlayerAttachedObject( playerid, 2, 18703, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 );
	SetPlayerAttachedObject( playerid, 3, 18703, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 );
		
	SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: Flaming Hand effects is now active.");
    }
    else if(Flaming[playerid] == 1)
    {
        Flaming[playerid] = 0;

        for ( new i = 0; i < 4; i++ )
	if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) )
	RemovePlayerAttachedObject( playerid, i );
        
        SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: Flaming Hand effects has been disabled.");

    }
    return 1;
}
Dont get pissed off with this fs, just for fun


Re: Flaming Hand - Affan - 05.07.2013

Nice and simple. +Rep.
You could use If(Flaming[playerid] == 1) and do it. Much easier.
But nice work.


Re: Flaming Hand - GhostPerk77 - 05.07.2013

Nice work man! I always love to see myself as a SSJ from DBZ beast!


Re: Flaming Hand - Onfroi - 05.07.2013

Nice, but it would be better if you could throw flaming balls.


Re: Flaming Hand - ahmad95 - 05.07.2013

Quote:
Originally Posted by Affan
ПоÑмотреть Ñообщение
Nice and simple. +Rep.
You could use If(Flaming[playerid] == 1) and do it. Much easier.
But nice work.
Thanks, check back soon, ill release update.

Quote:
Originally Posted by GhostPerk77
ПоÑмотреть Ñообщение
Nice work man! I always love to see myself as a SSJ from DBZ beast!
Enjoy!

Quote:
Originally Posted by Onfroi
ПоÑмотреть Ñообщение
Nice, but it would be better if you could throw flaming balls.
Too advanced . I still a newbie in scripting, ill try it out.


Re: Flaming Hand - TraniLurese - 05.07.2013

It's so easy, and if you make fire-killer (xD), it work be best work with fire


Re: Flaming Hand - Matej794 - 05.07.2013

Not bad, you should try to do what Onfroi said. Give it a try, even if you're a scripting beginner.


Re: Flaming Hand - sKgaL - 05.07.2013

cool idea , thanks.


Re: Flaming Hand - ahmad95 - 05.07.2013

Version 1.2 Released, now only one cmd to enable/disable the effects


Re: Flaming Hand - RoDney - 01.09.2013

Quote:
Originally Posted by Onfroi
ПоÑмотреть Ñообщение
Nice, but it would be better if you could throw flaming balls.
flaming balls haahahhaha