Quote:
Originally Posted by BaubaS
Thanks for helping, but same..
For example, in players.pwn I've changed
pawn Код:
new szName[MAX_PLAYERS][MAX_PLAYER_NAME], szIP[MAX_PLAYERS][16];
to
pawn Код:
static szName[MAX_PLAYERS][MAX_PLAYER_NAME], szIP[MAX_PLAYERS][16];
.
I've saved the file, and when I am compiling the main .pwn file, it gives
pawn Код:
System/classes.pwn(131) : error 017: undefined symbol "szName" System/classes.pwn(131) : error 029: invalid expression, assumed zero System/classes.pwn(131) : error 029: invalid expression, assumed zero System/classes.pwn(131) : fatal error 107: too many error messages on one line
Line 131:
pawn Код:
format(szMembers, 810, "%s{33AA33}%d. {FF0000}%s\n", szMembers, ClassMembers, GetPlayerNameEx(i));
Defines:
pawn Код:
#define GetPlayerNameEx(%0) (szName[%0]) #define GetPlayerIpEx(%0) (szIP[%0])
|
Ignoring my post will get you nowhere, trust me. I have practically the same setup as you're intending to have.