Cuffed..
#5

If I do like this:
Код:
if(strcmp(cmdtext, "/pickup", true)==0)
	{
        if(playerDB[playerid][cuffed]) return SendClientMessage(playerid,COLOR, "You cannot use this command while cuffed!");
		SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
		return 1;
	}
or this:
Код:
if(playerDB[playerid][cuffed]) return 1;
the player can use this command still. I just need disable the commands if player is cuffed.. So can anyone help me?
Reply


Messages In This Thread
Cuffed.. - by lakierka - 26.06.2009, 16:36
Re: Cuffed.. - by kaisersouse - 26.06.2009, 16:47
Re: Cuffed.. - by lakierka - 26.06.2009, 17:06
Re: Cuffed.. - by kaisersouse - 26.06.2009, 17:34
Re: Cuffed.. - by lakierka - 26.06.2009, 17:44
Re: Cuffed.. - by kaisersouse - 26.06.2009, 18:44
Re: Cuffed.. - by Grim_ - 26.06.2009, 18:47
Re: Cuffed.. - by lakierka - 26.06.2009, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)