12.05.2017, 10:46
PHP код:
enum DATAX //We name our enumerator as PDATA (which stands for PlayerDATA). You can name it however you want.
{
ID, //Will be used later to store player's ID from database so we can use it anywhere later
Password[129], //We will load player's password into this varible from database
Admin, //We will load player's admin level from database into this variable so we can use it anywhere later.
VIP, //We will load player's VIP level from database into this variable so we can use it anywhere later.
Kills,
Cookies,
Deaths,
Score,
Money,
pTotalTime,
pConnectTime,
pHours,
pMinutes,
pSeconds,
RaceWon,
//We will load player's money from database into this variable so we can use it anywhere later.
};
new pData[MAX_PLAYERS][DATAX]; //Variable that stores enumerator above
new Max, bool:created;