ClassSelection
#2

you mean the skin dont line up?


i do something similar
you may need to set the spawn info in OnPlayerClassRequest
also.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{

    SetPlayerInterior       (playerid,14);
    SetPlayerPos            (playerid,258.4893,-41.4008,1002.0234);
    SetPlayerFacingAngle    (playerid,90.0);
    SetPlayerCameraPos      (playerid,256.0815,-43.0475,1004.0234);
    SetPlayerCameraLookAt   (playerid,258.4893,-41.4008,1002.0234);
    SetSpawnInfo
    (
        playerid,
        255,
        classid,
        gPlayerInfo[playerid][E_PLAYER_X],
        gPlayerInfo[playerid][E_PLAYER_Y],
        gPlayerInfo[playerid][E_PLAYER_Z],
        gPlayerInfo[playerid][E_PLAYER_A],
        0,
        0,
        0,
        0,
        0,
        0
    );
    return 1;
}
hope i understood you right.

this will set the position and skin when they click the spawn button.
Reply


Messages In This Thread
ClassSelection - by TzAkS. - 02.06.2012, 16:46
Re: ClassSelection - by Jonny5 - 02.06.2012, 19:12
Re: ClassSelection - by TzAkS. - 02.06.2012, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)