04.07.2013, 17:48
Try this
pawn Код:
SetupPlayerForClassSelection(playerid)
{
SetPlayerPos(playerid,1766.1969,-1945.0790,13.5643);
SetPlayerCameraPos(playerid,1768.5718,-1942.9174,13.5615);
SetPlayerFacingAngle(playerid,312.7264);
SetPlayerCameraLookAt(playerid,1766.1969,-1945.0790,13.5643);
}
public OnPlayerRequestClass(playerid, classid)
{
if(IsRegistered[playerid] == 1)
{
SpawnPlayer(playerid);
}
else
{
SetupPlayerForClassSelection(playerid);
}
return 1;
}