Spawn Bar.
#6

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid); //To avoid spawn class and redirect to spawn location.
    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);
    }
   }
    return 1;
}
Reply


Messages In This Thread
Spawn Bar. - by dorperez - 27.04.2013, 13:09
Re: Spawn Bar. - by zDivine - 27.04.2013, 13:20
Re: Spawn Bar. - by dorperez - 27.04.2013, 13:24
Re: Spawn Bar. - by zDivine - 27.04.2013, 13:26
Re: Spawn Bar. - by dorperez - 27.04.2013, 14:06
Re: Spawn Bar. - by Lordzy - 27.04.2013, 14:13
Re: Spawn Bar. - by MP2 - 27.04.2013, 14:28
Re: Spawn Bar. - by dorperez - 27.04.2013, 14:56
Re: Spawn Bar. - by MP2 - 27.04.2013, 14:57
Re: Spawn Bar. - by dorperez - 27.04.2013, 14:59

Forum Jump:


Users browsing this thread: 1 Guest(s)