[Ajuda] spawnando com arma
#3

Sim, sу nao sei qual parte cara ;/ A do Spawn?

Й Gf Edit

Parte do spawn civil
pawn Код:
//========================================

        if(PlayerInfo[playerid][pOrigem] == 1)//Country Club - SF
        {
            XXAirBreak[playerid] += 3;
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid,892.0973,-1639.4764,14.9606);
            SetPlayerFacingAngle(playerid, 181.2104);
            ResetPlayerWeaponsBPH(playerid);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }
        if(PlayerInfo[playerid][pOrigem] == 2)//East Beach - LS
        {
            XXAirBreak[playerid] += 3;
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid,892.0973,-1639.4764,14.9606);
            SetPlayerFacingAngle(playerid, 181.2104);
            ResetPlayerWeaponsBPH(playerid);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }

        if(PlayerInfo[playerid][pOrigem] == 3)//Verona Beach - LS
        {
            XXAirBreak[playerid] += 3;
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid,892.0973,-1639.4764,14.9606);
            SetPlayerFacingAngle(playerid, 181.2104);
            ResetPlayerWeaponsBPH(playerid);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }

        if(PlayerInfo[playerid][pOrigem] == 4)//City Hall - SF
        {
            XXAirBreak[playerid] += 3;
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid,892.0973,-1639.4764,14.9606);
            SetPlayerFacingAngle(playerid, 181.2104);
            ResetPlayerWeaponsBPH(playerid);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }
        if(PlayerInfo[playerid][pOrigem] == 5)//East Los Santos - LS
        {
            XXAirBreak[playerid] += 3;
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid,892.0973,-1639.4764,14.9606);
            SetPlayerFacingAngle(playerid, 181.2104);
            ResetPlayerWeaponsBPH(playerid);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }
        if(PlayerInfo[playerid][pOrigem] == 6)//Downtown - SF
        {
            XXAirBreak[playerid] += 3;
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid,892.0973,-1639.4764,14.9606);
            SetPlayerFacingAngle(playerid, 181.2104);
            ResetPlayerWeaponsBPH(playerid);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }
        if ((gTeam[playerid]) == 1)
        {
            XXAirBreak[playerid] += 3;
            SetPlayerToTeamColor(playerid);
            rand = random(sizeof(gMedPlayerSpawns));
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid, gMedPlayerSpawns[rand][0], gMedPlayerSpawns[rand][1], gMedPlayerSpawns[rand][2]); // Warp the player
            SetPlayerFacingAngle(playerid, 270.0);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }
        else
        {
            XXAirBreak[playerid] += 3;
            XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 1754.4994,-1907.7122,13.5658);
            SetPlayerFacingAngle(playerid, 1.7634);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
            return true;
        }
    }
    SetCameraBehindPlayer(playerid);
    return 1;
}
Reply


Messages In This Thread
spawnando com paraquedas - by Xpectro - 10.12.2013, 02:26
Re: spawnando com arma - by Schocc - 10.12.2013, 02:29
Re: spawnando com arma - by Xpectro - 10.12.2013, 02:35
Re: spawnando com arma - by Schocc - 10.12.2013, 02:44
Re: spawnando com arma - by Xpectro - 10.12.2013, 02:50
Re: spawnando com arma - by Schocc - 10.12.2013, 03:00
Re: spawnando com arma - by Xpectro - 10.12.2013, 03:02
Re: spawnando com arma - by Schocc - 10.12.2013, 03:08
Re: spawnando com arma - by Xpectro - 10.12.2013, 03:13
Re: spawnando com arma - by Schocc - 10.12.2013, 03:29

Forum Jump:


Users browsing this thread: 1 Guest(s)