28.03.2012, 22:49
When I am trying to compile my followed script, it suddenly appears to give me an error, an error 030.
I tried anything, I don't know if I am loosing brackets anywhere there.
Code of the error:
The Code of the Script:
Please help me, thanks.
I tried anything, I don't know if I am loosing brackets anywhere there.
Code of the error:
Код:
D:\GTA San Andreas\pawno\vo.pwn.pwn(5633) : error 030: compound statement not closed at the end of file (started at line 650) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
public LoginCount(playerid) { #if LOGIN_COUNT_ENABLED new string[256], string2[256], playrname[MAX_PLAYER_NAME], year, month, day; if(PlayerInfo[playerid][pAdmin] > 0) return 0; if(gPlayerLogged[playerid] != 1) { SendClientMessage(playerid, COLOR_WHITE, "\n"); SendClientMessage(playerid, COLOR_WHITE, "\n"); SendClientMessage(playerid, COLOR_WHITE, "\n"); SendClientMessage(playerid, COLOR_WHITE, "\n"); SendClientMessage(playerid, COLOR_WHITE, "\n"); GetPlayerName(playerid, playrname, sizeof(playrname)); getdate(year, month, day); format(string2, sizeof(string2), "%s has been kicked by the Server . [Reason: Failure to log in after %d seconds (%d-%d-%d)]", playrname, LOGIN_COUNT_TIME, month, day, year); KickLog(string); format(string, sizeof(string), "You have been kicked by the Server. [Reason Failure to log in after %d seconds].", LOGIN_COUNT_TIME); SendClientMessage(playerid, COLOR_RED, string); Kick(playerid); } return 1; #endif } stock SendRaw(senderid, const str[]) { CallRemoteFunction("OnPlayerCommandText","is",senderid,str); } #endif // War Admin-Mode Script©