(Jailed) not working - 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)
+--- Thread: (Jailed) not working (
/showthread.php?tid=425506)
(Jailed) not working -
[..MonTaNa..] - 25.03.2013
....
Re: (Jailed) not working -
kamzaf - 25.03.2013
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(Jailed[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "You Cannot Use Commands When Jailed.");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}
Re: (Jailed) not working -
[..MonTaNa..] - 26.03.2013
~~~~~~
Re: (Jailed) not working -
Denying - 26.03.2013
You're returning 0, try returning 1 and returning 0 at the end of OnPlayerCommandReceived.
Re: (Jailed) not working -
[..MonTaNa..] - 26.03.2013
~~~~~~
Re: (Jailed) not working -
[..MonTaNa..] - 26.03.2013
Bump
Re: (Jailed) not working -
kamzaf - 26.03.2013
Quote:
Originally Posted by MonTaNaAa
I already have that :/
|
Yours is not the same as mine -_-