[Y_INI]Can I Use...
#1

Hey! Well, i want to ask that Can I use "INI_ParseFile(file, "LoadUser_data", .bExtra = true, .extra = playerid);"
Instead of using something like this "INI_ParseFile(file, "LoadUser_%s", .bExtra = true, .extra = playerid);"



PHP код:
forward LoadUser_data(playerid,name[],value[]);
public 
LoadUser_data(playerid,name[],value[])
{
    
INI_Int("Password",PlayerInfo[playerid][pPass]);
    
INI_Int("Cash",PlayerInfo[playerid][pCash]);
    
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    
INI_Int("Kills",PlayerInfo[playerid][pKills]);
    
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
     return 
1;

If No, then what difference does that %s makes?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)