Skip class selection on player connect
#1

Hy

How can i disable the class selection on startup?
I tried with SpawnPlayer, SetPlayerPos, but its dont work...

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
    PlayerInfo[playerid][pModel] = Peds[classid][0];
    if(gPlayerLogged[playerid] == 0)
    {
      SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,-1657.5237,1207.6644,13.6719);
        SetPlayerCameraPos(playerid, 1555.392578, -1749.457031, 30.780603);
        SetPlayerCameraLookAt(playerid, 1504.327270, -1713.032226, 14.046875);
        return 0;
    }
    SetupPlayerForClassSelection(playerid);
    return 1;
}
But if i connect, i see the "<", ">" and "Spawn" buttons...
Any idea
Reply


Messages In This Thread
Skip class selection on player connect - by godknightx - 04.10.2009, 12:36
Re: Skip class selection on player connect - by MadeMan - 04.10.2009, 12:57
Re: Skip class selection on player connect - by [mad]MLK - 04.10.2009, 12:58
Re: Skip class selection on player connect - by godknightx - 04.10.2009, 13:14
Re: Skip class selection on player connect - by Rickyboy30 - 07.10.2009, 14:48
Re: Skip class selection on player connect - by Mike Garber - 07.10.2009, 20:40
Re: Skip class selection on player connect - by godknightx - 10.10.2009, 14:43
Re: Skip class selection on player connect - by LiamM - 18.02.2011, 13:23
Re: Skip class selection on player connect - by iNeon - 18.02.2011, 20:30
Re: Skip class selection on player connect - by Ash. - 18.02.2011, 20:31

Forum Jump:


Users browsing this thread: 4 Guest(s)