(Jailed) not working
#1

....
Reply
#2

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;
}
Reply
#3

~~~~~~
Reply
#4

You're returning 0, try returning 1 and returning 0 at the end of OnPlayerCommandReceived.
Reply
#5

~~~~~~
Reply
#6

Bump
Reply
#7

Quote:
Originally Posted by MonTaNaAa
Посмотреть сообщение
I already have that :/
Yours is not the same as mine -_-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)