Help with spectate command
#1

Thank you Corelli!
Reply
#2

Change:
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1) {
    SendClientMessage(playerid, COLOR_WHITE, "[Error] You are not a admin");
    return 1;
}
to:
pawn Код:
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_WHITE, "[Error] You are not a admin");
Reply
#3

Quote:
Originally Posted by Guso
Thank you Corelli!
Don't edit and remove your questions when you've got answer. This makes the Search function totally unneccessary.
Maybe someone else got this problem and wants an answer....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)