Taser
#3

Quote:
Originally Posted by S0n1COwnsYou
View Post
PHP Code:
//AFTER YOUR INCLUDES
new PlayerTazed[MAX_PLYAERS] = 0;
//INSIDE YOUR TAZE FUNCTION
PlayerTazed[damagedid] = 1;
//INSIDE YOUR DANCE COMMAND
if(PlayerTazed[playerid] == 0)
{
    
//YOUR CODE
}
else 
SendClientMessage(playerid,-1,"error you are tazed"); 
Wouldn't it be betted to put this shitty shit inside command callback to prevent using all the commands? And why I am saying, that is a shitty shit.. because, I can use animation check, you will use less memory then.
Reply


Messages In This Thread
Taser - by danites - 14.06.2013, 17:03
Re: Taser - by S0n1COwnsYou - 14.06.2013, 17:28
Re: Taser - by Riddick94 - 14.06.2013, 17:33
Re: Taser - by S0n1COwnsYou - 14.06.2013, 17:36
Re: Taser - by danites - 14.06.2013, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)