Quote:
Originally Posted by yom
Why not simply:
pawn Code:
if(strcmp(cmdtext, "/admincheg", true) == 0) { if (IsPlayerAdmin(playerid) == true) { SendClientMessage(playerid, COLOR_YELLOW,"***You are logged as admin"); } else { SendClientMessage(playerid, COLOR_YELLOW,"***You are not logged as admin"); } return 1; }
|
C:\DOCUME~1\User\0016~1\12345\SAMP01~1\GAMEMO~1\sr c\sftdm.pwn(1419) : warning 213: tag mismatch