30.12.2009, 17:56
Quote:
Originally Posted by jasonnw666
thanks but when i compil i have these error
gui\gamemodes\fuiy.pwn(64747) : warning 219: local variable "playername" shadows a variable at a preceding level gui\gamemodes\fuiy.pwn(64749) : warning 219: local variable "tmp" shadows a variable at a preceding level gui\gamemodes\fuiy.pwn(64767) : warning 219: local variable "playername" shadows a variable at a preceding level gui\gamemodes\fuiy.pwn(64771) : error 017: undefined symbol "MAX_PLAYERS_" |
gui\gamemodes\fuiy.pwn(64767) : warning 219: local variable "playername" shadows a variable at a preceding level
Fix by remove new playername[MAX_PLAYER_NAME]; on both commands. (Means It's already defined).
gui\gamemodes\fuiy.pwn(64771) : error 017: undefined symbol "MAX_PLAYERS_"
put
pawn Код:
#define MAX_PLAYERS_ (Maxplayers)
Example:
pawn Код:
#define MAX_PLAYERS_ 500