SA-MP Forums Archive
Help with spectate command - 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: Help with spectate command (/showthread.php?tid=119658)



Help with spectate command - Guso - 08.01.2010

Thank you Corelli!


Re: Help with spectate command - Correlli - 08.01.2010

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");



Re: Help with spectate command - Mike Garber - 09.01.2010

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....