How to disable commands in jail?
#2

Just make a variable.
//top of script
new CommandUse=0;

command /kill
{
if(CommandUse==1) so you can use the command
{
function of the command
}
if(CommandUse==0)You cant use the command
{
SendClientMessage(playerid,COLOR_RED,"You cannot use this command in jail!");
}
}
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)