09.07.2010, 17:50
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]
[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]