Problems whit accounts!
#1

Hello, i have problem with account saving, everything works cool but sometmes when i make new account stats are same as my account. For example i make new account and it have admin level 10.

How to fix this? im using Y_ini
Reply
#2

Make sure you are resetting the player's stats to 0 under OnPlayerConnect.
Example:
pawn Код:
public OnPlayerConnect(playerid)
{
    PlayerInfo[playerid][AdminLevel] = 0;
    PlayerInfo[playerid][Cash] = 0;
    ShowPlayerDialog(playerid, LOGIN_DIALOG,...
    //code continues...
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)