People automatically becomes a admin.
#7

Like This :
pawn Код:
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("Vip",PlayerInfo[playerid][pVip]);
    INI_Int("Score",PlayerInfo[playerid][pScore]);
    INI_Int("Skin",PlayerInfo[playerid][pSkin]);
    INI_Int("Mute",PlayerInfo[playerid][pMuted]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    INI_Int("SRank",PlayerInfo[playerid][pSRank]);
    INI_Int("Captures",PlayerInfo[playerid][pCarsCaptured]);
    INI_Int("Cookies",PlayerInfo[playerid][pCookies]);
    return 1;
}
And When Player Logs In:
pawn Код:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
Reply


Messages In This Thread
People automatically becomes a admin. - by BetaLaxx - 17.10.2011, 22:14
Re: People automatically becomes a admin. - by JaTochNietDan - 17.10.2011, 22:29
Re: People automatically becomes a admin. - by BetaLaxx - 18.10.2011, 15:59
Re: People automatically becomes a admin. - by SmiT - 18.10.2011, 16:02
Re: People automatically becomes a admin. - by BetaLaxx - 18.10.2011, 16:07
Re: People automatically becomes a admin. - by SmiT - 18.10.2011, 16:13
Re: People automatically becomes a admin. - by BetaLaxx - 18.10.2011, 16:19
Re: People automatically becomes a admin. - by Yamoo - 18.10.2011, 16:22
Re: People automatically becomes a admin. - by JaTochNietDan - 18.10.2011, 16:25
Re: People automatically becomes a admin. - by BetaLaxx - 18.10.2011, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)