Y.ini Problem
#1

Helloo I add a register system on my Server but death's doesend saved allso and Kill's.

I add Onplayerdeath.

PHP код:
pInfo[killerid][Kills]++;
 
pInfo[playerid][Deaths]++; 
All work perfectly but dont save kills and Death's

PHP код:
public loadaccount_user(playeridname[], value[])
{
    
INI_String("Password"pInfo[playerid][Pass],129); /*we will use INI_String to load user's password.
    ("Password",.. will load user's password inside of user's path. 'pInfo[playerid][Pass]',...We have defined our user's variable above called, pInfo. Now it's time to use it here to load user's password. '129',... 129 is a length of a hashed user's password. Whirlpool will hash 128 characters + NULL*/
    
INI_Int("AdminLevel",pInfo[playerid][Adminlevel]);/*We will use INI_Int to load user's admin level. INI_Int stands for INI_Integer. This load an admin level. */
    
INI_Int("VIPLevel",pInfo[playerid][VIPlevel]);//As explained above
    
INI_Int("Money",pInfo[playerid][Money]); //As explained above
    
INI_Int("Scores",pInfo[playerid][Scores]);//As explained above
    
INI_Int("Kills",pInfo[playerid][Kills]);//As explained above
    
INI_Int("Deaths",pInfo[playerid][Deaths]);//As explained above
    
return 1;

Reply


Messages In This Thread
Y.ini Problem - by gekas - 29.05.2014, 20:52
Re: Y.ini Problem - by Dignity - 29.05.2014, 20:54
Re: Y.ini Problem - by gekas - 29.05.2014, 20:56
Re: Y.ini Problem - by Dignity - 29.05.2014, 20:58
Re: Y.ini Problem - by gekas - 29.05.2014, 21:03
Re: Y.ini Problem - by gekas - 29.05.2014, 21:13
Re: Y.ini Problem - by Dignity - 29.05.2014, 21:18
Re: Y.ini Problem - by gekas - 30.05.2014, 09:54
Re: Y.ini Problem - by Dignity - 30.05.2014, 09:59
Re: Y.ini Problem - by gekas - 30.05.2014, 10:01

Forum Jump:


Users browsing this thread: 1 Guest(s)