SA-MP Forums Archive
Need help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help (/showthread.php?tid=400030)



Need help - Morkano - 16.12.2012

Quote:

D:\server\filterscripts\script.pwn(117) : error 017: undefined symbol "tInfo"
D:\server\filterscripts\script.pwn(117) : warning 215: expression has no effect
D:\server\filterscripts\script.pwn(117) : error 001: expected token: ";", but found "]"
D:\server\filterscripts\script.pwn(117) : error 029: invalid expression, assumed zero
D:\server\filterscripts\script.pwn(117) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

problem please help me


Re: Need help - dr.lozer - 16.12.2012

show us the code too


Re: Need help - Morkano - 16.12.2012

Quote:

tInfo[playerid][ChatLines]++;

this is line 117


Re: Need help - Lz - 16.12.2012

Try

pawn Код:
tInfo[playerid][ChatLines] =+ 1;



Re: Need help - Morkano - 16.12.2012

same problem


Re: Need help - Konstantinos - 16.12.2012

The problem is not is the ++, but that you've not defined it.
pawn Код:
enum Info_
{
    ChatLines
};
new
    tInfo[ MAX_PLAYERS ][ Info_ ]
;
And Lz, it's +=, not =+