Position Help!
#5

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerTeamFromClass(playerid, classid);
    if(classid == 0)
    {
        gTeam[playerid] = PAKISTAN;
        GameTextForPlayer(playerid,"~r~Pakistan",3000,5);
        SetPlayerSkin(playerid, 160);
        SetPlayerPos(playerid,233.3431,1936.7926,33.8984);
        SetPlayerCameraPos(playerid,228.0594,2099.4875,119.2728);
        SetPlayerCameraLookAt(playerid,233.3431,1936.7926,33.8984);
        SetPlayerColor(playerid,COLOR_BRIGHTRED);
    }
    else if(classid == 1)
    {
        gTeam[playerid] = USA;
        GameTextForPlayer(playerid,"~b~United Stats Of America Special Force",3000,5);
        SetPlayerPos(playerid,2500.6060,-1672.1453,13.3512);
        SetPlayerCameraPos(playerid,2507.0615,-1674.3574,13.3732);
        SetPlayerCameraLookAt(playerid,2500.6060,-1672.1453,13.3512);
        SetPlayerSkin(playerid,285);
        SetPlayerColor(playerid,COLOR_BLUE);
        }
    return 1;
}
Reply


Messages In This Thread
Position Help! - by Mr_Scripter - 21.10.2011, 14:21
Re: Position Help! - by Infinity - 21.10.2011, 14:24
Re: Position Help! - by Mr_Scripter - 21.10.2011, 14:26
Re: Position Help! - by Max_Coldheart - 21.10.2011, 14:28
Re: Position Help! - by Mr_Scripter - 21.10.2011, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)