YINI help please
#3

Quote:
Originally Posted by jlalt
Посмотреть сообщение
what's the value of PlayerInfo[playerid][PlayerPass]? I bet its 0
PHP код:
INI_ParseFile(AccountsPath(playerid), "LoadPlayer_%s", .bExtra true, .extra playerid); 
you had to do that when you show dialog login so PlayerInfo[playerid][PlayerPass] would get loaded.
or just make a new loader just to load that.
PHP код:
enum pInfo
{
    
PlayerPass[129],
    
PlayerMoney
}
new 
PlayerInfo[PLAYERS][pInfo];
forward LoadPlayer_data(playerid,name[],value[]);
public 
LoadPlayer_data(playerid,name[],value[])
{
    
INI_Int("password",PlayerInfo[playerid][PlayerPass]);
    return 
1;

now?? still not working
Reply


Messages In This Thread
YINI help please - by BulletRaja - 26.01.2018, 06:22
Re: YINI help please - by jlalt - 26.01.2018, 06:54
Re: YINI help please - by BulletRaja - 26.01.2018, 07:26
Re: YINI help please - by jlalt - 26.01.2018, 08:03
Re: YINI help please - by BulletRaja - 26.01.2018, 08:49
Re: YINI help please - by jlalt - 26.01.2018, 08:53
Re: YINI help please - by BulletRaja - 26.01.2018, 09:09
Re: YINI help please - by BulletRaja - 26.01.2018, 13:41

Forum Jump:


Users browsing this thread: 2 Guest(s)