[Ajuda] Spawn
#4

nessa parte, lб no final
pawn Код:
if((gTeam[playerid]) == 1)
        {
            SetPlayerToTeamColor(playerid);
            rand = random(sizeof(gMedPlayerSpawns));
            SafeSetPlayerPos(playerid, gMedPlayerSpawns[rand][0], gMedPlayerSpawns[rand][1], gMedPlayerSpawns[rand][2]);
            SetPlayerFacingAngle(playerid, 270.0);
            SetPlayerInterior(playerid,0);
            Player[playerid][pInt] = 0;
            return 1;
        }
        else
        {
            SetPlayerToTeamColor(playerid);
            new asd = random(sizeof(CivilSpawns));
            SafeSetPlayerPos(playerid, CivilSpawns[asd][0], CivilSpawns[asd][1], CivilSpawns[asd][2]);
            SetPlayerFacingAngle(playerid, CivilSpawns[asd][3]);
            SetPlayerInterior(playerid,0);
            Player[playerid][pInt] = 0;
        }
set for gTeam 1 spawna em medico, senгo em civil! esse й a ultima ordem dessa funзгo! Tenho quase certeza que se vocк tirar isso, vai dar certo, mas depois terб de colocar de forma diferente senгo o civil nгo spawna, mas vou para testar, tira isso
Reply


Messages In This Thread
Spawn - by BigRet - 11.06.2014, 06:18
Re: Spawn - by DartakousLien - 11.06.2014, 10:18
Re: Spawn - by BigRet - 11.06.2014, 14:39
Re: Spawn - by DartakousLien - 11.06.2014, 19:07
Re: Spawn - by BigRet - 12.06.2014, 16:46
Re: Spawn - by BigRet - 12.06.2014, 22:59

Forum Jump:


Users browsing this thread: 1 Guest(s)