25.02.2013, 18:41
Thanx for the reply although that does not solve the problem, see the problem is this...
And here is the SkipRequestClass(playerid) Code...
Код:
case(DIALOG_LOGIN): { if(!response) { Kick(playerid); } else if(response) { new hashpass[129]; WP_Hash(hashpass, sizeof(hashpass), inputtext); if(!strcmp(hashpass, PlayerInfo[playerid][Password])) { SendClientMessage(playerid, 0x00FF00FF,"You have succesfully logged in.\nWelcome back to a Bum's Life!"); SkipRequestClass(playerid); // This Line Does Not Execute So The Player Does Not Spawn After Logging In. } else { ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","{FF0000}You have entered an Incorrect password!\n{FFFFFF}Please enter your Correct password to login.","Login","Quit"); return 1; } return 1; } return 1; }
Код:
forward SkipRequestClass(playerid); public SkipRequestClass(playerid) { new PlayerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); Load_Info(playerid); SpawnPlayer(playerid); return 1; }