saving score Help Plz Plz
#7

Where i can put On Player Connect?
Код:
public OnPlayerConnect(playerid)
{
	SendDeathMessage(INVALID_PLAYER_ID,playerid,200);
    ClassChosen[playerid] = 0;
   	PlayerPlaySound(playerid, 1185, -1753.6743,885.2703,295.8750);
	if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
		TogglePlayerSpectating(playerid, true);
		PAccount[playerid]=1;
	
	}
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
        PAccount[playerid]=0;
	}
	return 1;
}
Reply


Messages In This Thread
saving score Help Plz Plz - by MBilal - 19.12.2013, 13:26
Re: saving score Help Plz Plz - by RowdyrideR - 19.12.2013, 13:44
Re: saving score Help Plz Plz - by MBilal - 19.12.2013, 13:52
Re: saving score Help Plz Plz - by arakuta - 19.12.2013, 14:04
Re: saving score Help Plz Plz - by MBilal - 19.12.2013, 14:36
Re: saving score Help Plz Plz - by SilentSoul - 19.12.2013, 16:07
Re: saving score Help Plz Plz - by MBilal - 19.12.2013, 16:16
Re: saving score Help Plz Plz - by SilentSoul - 19.12.2013, 16:19
Re: saving score Help Plz Plz - by MBilal - 19.12.2013, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)