27.04.2013, 13:24
Didn't worked bro ..
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(RegistrationStep[playerid] == 0)
{
if(PlayerInfo[playerid][pReg] == 1)
{
ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_INPUT,""ALB"Welcome.Please log-in.",""ALB"Type your password here to log-in","Log-in","Quit");
}
if(PlayerInfo[playerid][pReg] == 0)
{
ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_INPUT,""ALB"Please register!",""ALB"Type your password here to register.","Register","Quit");
}
SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
SetPlayerCameraPos(playerid, 1890.1014,-1194.7969,25.8091);
SetPlayerCameraLookAt(playerid, 1933.4393,-1196.2479,18.8163);
}
else SpawnPlayer(playerid);
return 1;
}