21.06.2013, 17:36
Код:
enum pInfo { pPass, pCash, pAdmin, pGuard, pSkin, } new PlayerInfo[MAX_PLAYERS][pInfo];
Quote:
C:\Users\xxxxxxxx\Desktop\xxxxxx\gamemodes\xxxxxx. pwn(29) : error 017: undefined symbol "MAX_PLAYERS" |
enum pInfo { pPass, pCash, pAdmin, pGuard, pSkin, } new PlayerInfo[MAX_PLAYERS][pInfo];
C:\Users\xxxxxxxx\Desktop\xxxxxx\gamemodes\xxxxxx. pwn(29) : error 017: undefined symbol "MAX_PLAYERS" |
#include <a_samp>
#define MAX_PLAYERS 500
new PlayerInfo[MAX_PLAYERS][pInfo];
new PlayerInfo[MAX_PLAYERS][pInfo]; enum pInfo { pPass, pCash, pAdmin, pGuard, pSkin, }
new playerinfo[server's slots amount][pinfo];
#undef MAX_PLAYERS
//Forgot to #define MAX_PLAYERS amount