Problem
#5

Quote:
Originally Posted by iLearner
Посмотреть сообщение
Show us how did you define "Max".
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 Maxbool:created
Reply


Messages In This Thread
Problem - by Loinal - 12.05.2017, 10:30
Re: Problem - by coool - 12.05.2017, 10:36
Re: Problem - by ProBro - 12.05.2017, 10:36
Re: Problem - by iLearner - 12.05.2017, 10:39
Re: Problem - by Loinal - 12.05.2017, 10:46
Re: Problem - by iLearner - 12.05.2017, 10:48
Re: Problem - by Loinal - 12.05.2017, 10:51
Re: Problem - by iLearner - 12.05.2017, 10:55
Re: Problem - by Loinal - 12.05.2017, 11:02
Re: Problem - by Loinal - 12.05.2017, 13:07

Forum Jump:


Users browsing this thread: 1 Guest(s)