24.04.2012, 18:48
Hello,
I have this under the OnPlayerConnect callback..
But it keeps duplicating the money and I can't sort it out!
I have this under the OnPlayerConnect callback..
Код:
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,"Registering...","Type your password below to register a new account.","Register","Quit");
}
PlayerInfo[playerid][pAdminLevel] = 0;
PlayerInfo[playerid][pDeaths] = 0;
GivePlayerMoney(playerid, 2500);
PlayerInfo[playerid][pBanned] = 0;
PlayerInfo[playerid][pScore] = 0;
PlayerInfo[playerid][pKills] = 0;
PlayerInfo[playerid][Team] = -1;


