20.01.2011, 17:45
I get 7 errors when I am trying to compile a file I have made
Lines:
Please help
pawn Код:
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\AFK System.pwn(53) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\AFK System.pwn(53) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\AFK System.pwn(54) : error 017: undefined symbol "SendClientMessageToAllEx"
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\AFK System.pwn(55) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\AFK System.pwn(55) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\AFK System.pwn(55) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\AFK System.pwn(55) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
pawn Код:
if(tmp >= 60) { format(string, sizeof(string), "\"%s\"(ID:%d) has been jailed by Admin \"%s\"(ID:%d) for %d Minutes (Reason: %s)", jailername, ID, adminname, playerid, tmp2/60, result);
SendClientMessageToAllEx(0xFFFFFFAA, string);
format(string, sizeof(string), "You have been jailed by admin "\"%s\"(ID:%d) for %d Minutes (Reason: %s)",adminname, playerid, tmp2/60, result);