SetPlayerTeam - question related this
#10

You could do that, yes. A switch would probably be better though.

pawn Код:
switch(GetPVarInt(playerid, "team"))
{
    case TEAM_X:
    {
        SetPlayerPos(playerid, x, y, z);
        SetPlayerFacingAngle(playerid, a);
        SetPlayerInterior(playerid, int);
    }
    case TEAM_Y:
    {
        SetPlayerPos(playerid, x, y, z);
        SetPlayerFacingAngle(playerid, a);
        SetPlayerInterior(playerid, int);
    }
    case TEAM_Z:
    {
        SetPlayerPos(playerid, x, y, z);
        SetPlayerFacingAngle(playerid, a);
        SetPlayerInterior(playerid, int);
    }
}
Reply


Messages In This Thread
SetPlayerTeam - question related this - by BoboRi - 28.11.2011, 21:35
Re: SetPlayerTeam - question related this - by grand.Theft.Otto - 28.11.2011, 23:33
Re: SetPlayerTeam - question related this - by Johnson_boy - 29.11.2011, 06:28
Re: SetPlayerTeam - question related this - by BoboRi - 29.11.2011, 17:08
Re: SetPlayerTeam - question related this - by Johnson_boy - 29.11.2011, 17:14
Re: SetPlayerTeam - question related this - by BoboRi - 29.11.2011, 17:20
Re: SetPlayerTeam - question related this - by BoboRi - 29.11.2011, 19:29
Re: SetPlayerTeam - question related this - by MP2 - 29.11.2011, 19:32
Re: SetPlayerTeam - question related this - by BoboRi - 29.11.2011, 19:34
Re: SetPlayerTeam - question related this - by MP2 - 29.11.2011, 19:39

Forum Jump:


Users browsing this thread: 6 Guest(s)