View Single Post
Old 13/11/2019, 06:14 PM   #553
bero1711
Little Clucker
 
Join Date: Jul 2009
Location: Croatia,Koprivnica
Posts: 20
Reputation: 0
Default Re: Login and Register System - Dialogs - Using Y_INI

How to do that with PVars?
Code:
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;
}
bero1711 is offline   Reply With Quote