How to disable commands in jail?
#10

Here look:
Код:
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
     if(CommandUse==1)//can use
     {
	   SetPlayerHealth(playerid,0);
	   return 1;
     }
     if(CommandUse==0)//cant use
     {
           SendClientMessage(playerid,COLOR_RED,"You cannot use this command in jail!");
           return 1;
     }
}
Reply


Messages In This Thread
How to disable commands in jail? - by Sensitive - 24.08.2011, 23:06
Re: How to disable commands in jail? - by Admigo - 24.08.2011, 23:17
Re: How to disable commands in jail? - by Sensitive - 24.08.2011, 23:17
Re: How to disable commands in jail? - by Kingunit - 24.08.2011, 23:20
Re: How to disable commands in jail? - by Admigo - 24.08.2011, 23:21
Re: How to disable commands in jail? - by Sensitive - 24.08.2011, 23:24
Re: How to disable commands in jail? - by Kingunit - 24.08.2011, 23:27
Re: How to disable commands in jail? - by Sensitive - 24.08.2011, 23:31
Re: How to disable commands in jail? - by =WoR=G4M3Ov3r - 24.08.2011, 23:33
Re: How to disable commands in jail? - by Admigo - 24.08.2011, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)