#3

pawn Code:
SetupPlayerForClassSelection(playerid)
{
    SetPlayerInterior(playerid,14);
    SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
    SetPlayerFacingAngle(playerid, 270.0);
    SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
    SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
}

public OnPlayerRequestClass(playerid, classid)
{
    SetupPlayerForClassSelection(playerid);
    return 1;
}
pawn Code:
public OnGameModeInit()
{
    SetGameModeText("SA:MP Server");
    AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
        AddPlayerClass(241,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
    return 1;
}
Credits to SAMP :P
Reply


Messages In This Thread
Help - by aswinnarayanan - 12.05.2014, 03:16
Re : Help - by Ramoboss - 12.05.2014, 03:21
Re: Help - by Deal-or-die - 12.05.2014, 03:23

Forum Jump:


Users browsing this thread: 1 Guest(s)