7 Errors
#1

I get 7 errors when I am trying to compile a file I have made
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.
Lines:
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);
Please help
Reply
#2

Bump
Reply
#3

Bump!
Please help!
Reply
#4

Post the whole command please.

pawn Код:
SendClientMessageToAllEx(0xFFFFFFAA, string); //Wrong
SendClientMessageToAll(0xFFFFFFAA, string); //Use this
Reply
#5

pawn Код:
if(strlen(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, strval(tmp2), result);
    SendClientMessageToAll(0xFFFFFFAA, string);
    format(string, sizeof(string), "You have been jailed by admin \"%s\"(ID:%d) for %d Minutes (Reason: %s)",adminname, playerid, strval(tmp2), result);
try it and reply when new erros occur or old erros stay
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)