23.12.2009, 14:46
Код:
if(strcmp(cmd, "/mystats", true) == 0) { if(logged[playerid] == 0) return SendClientMessage(playerid, COLOR_BRIGHTRED, "You cannot use commands because you are not logged in."); else if(logged[playerid] == -2) return SendClientMessage(playerid, COLOR_BRIGHTRED, "You cannot use commands because you are jailed."); else format(string, sizeof(string), "Level: %d", dini_Int(udb_encode(playername), "adminlevel"); SendClientMessage(playerid, COLOR_WHITE, string); return 1; }
Код:
C:\Documents and Settings\Administrator\Desktop\gamemodes\lvdm.pwn(2475) : error 001: expected token: ",", but found ";" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.