05.07.2013, 04:28
(
Последний раз редактировалось ahmad95; 05.07.2013 в 13:12.
)
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)
Dont get pissed off with this fs, just for fun
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; }