How To Stop These Commands? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How To Stop These Commands? (
/showthread.php?tid=158345)
How To Stop These Commands? -
[Weponz] - 09.07.2010
How To Stop /ar /tk and /rob From Car,Also How Do I Stop /kill /rob /rape In Jail?
Re: How To Stop These Commands? -
Kar - 09.07.2010
Use This TO Disable All Commands While In Jail, Use Your Jail Variable To Replace Mine
[code]public OnPlayerCommandReceived(playerid, cmdtext[])
{
if (InJail[playerid] == 1)
{
SendClientMessage(playerid, 0xFF0000AA, "Your Commands Have Been Disabled While In Jail!");
return 0;
}
return 1;
} [\code]
Re: How To Stop These Commands? -
[Weponz] - 09.07.2010
Quote:
Originally Posted by Kar
Use This TO Disable All Commands While In Jail, Use Your Jail Variable To Replace Mine
[code]public OnPlayerCommandReceived(playerid, cmdtext[])
{
if (InJail[playerid] == 1)
{
SendClientMessage(playerid, 0xFF0000AA, "Your Commands Have Been Disabled While In Jail!");
return 0;
}
return 1;
} [\code]
|
Jail Variable
Re: How To Stop These Commands? -
Kar - 09.07.2010
you dont have a variable to tell if the player is in jail?
lol so on your server if someone logs out in jail he comes back on and isnt in jail anymore?
Re: How To Stop These Commands? -
[Weponz] - 09.07.2010
Quote:
Originally Posted by Kar
you dont have a variable to tell if the player is in jail?
lol so on your server if someone logs out in jail he comes back on and isnt in jail anymore?
|
Yeh lawl can u help me with that to?
Re: How To Stop These Commands? -
Kar - 09.07.2010
got teamvier & msn?
http://www.teamviewer.com/index.aspx
Re: How To Stop These Commands? -
[Weponz] - 09.07.2010
Quote:
Originally Posted by Kar
|
msn yes pm msn