[Ajuda]da bug pq??
#1

mais uma ves laem eu euri mais como faiz isso aki?
tipo assim quando um player da gang atirar no outro da msm n morrer ?
sei q e coom isso
SetPlayerTeam(playerid, 0);
pawn Код:
if(classid == 0)
    {
    Gang[playerid] = SOLDADO;
    GameTextForPlayer(playerid,"~n~~r~gang do Exercito",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 0);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
   /* SetPlayerInterior(playerid, 17);
    SetPlayerPos(playerid, 489.4576, -15.1996, 1000.6796);
    SetPlayerCameraPos(playerid, 484.9201, -11.7566, 1000.6796);
    SetPlayerCameraLookAt(playerid, 489.4576, -15.1996, 1000.6796);
    SetPlayerFacingAngle(playerid, 51.5555);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);*/

if(classid == 1)
    {
    Gang[playerid] = COP;
    GameTextForPlayer(playerid,"~n~~r~gang dos malandros",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 1);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 2)
    {
    Gang[playerid] = POLICIAL;
    GameTextForPlayer(playerid,"~n~~r~gang da swat",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 2);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 3)
    {
    Gang[playerid] = CHINES;
    GameTextForPlayer(playerid,"~n~~r~gang dos chineses",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 3);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 4)
    {
    Gang[playerid] = CHINES;
    GameTextForPlayer(playerid,"~n~~r~gang dos chineses",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 3);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 5)
    {
    Gang[playerid] = MEDICO;
    GameTextForPlayer(playerid,"~n~~r~gang dos idosos",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 4);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 6)
    {
    Gang[playerid] = PEDREIRO;
    GameTextForPlayer(playerid,"~n~~r~gang dos noyas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 5);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 7)
    {
    Gang[playerid] = PEDREIRO;
    GameTextForPlayer(playerid,"~n~~r~gang dos noyas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 5);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 8)
    {
    Gang[playerid] = MANOBRISTA;
    GameTextForPlayer(playerid,"~n~~r~gang dos rockeiros",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 6);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 9)
    {
    Gang[playerid] = MANOBRISTA;
    GameTextForPlayer(playerid,"~n~~r~gang dos rockeiros",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 6);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 10)
    {
    Gang[playerid] = MANOBRISTA;
    GameTextForPlayer(playerid,"~n~~r~gang dos rockeiros",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 6);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 11)
    {
    Gang[playerid] = PILOTO;
    GameTextForPlayer(playerid,"~n~~r~gang do Bozo",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 7);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 12)
    {
    Gang[playerid] = SURFISTA;
    GameTextForPlayer(playerid,"~n~~r~gang dos Surfistas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 8);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 13)
    {
    Gang[playerid] = SURFISTA;
    GameTextForPlayer(playerid,"~n~~r~gang dos surfistas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 8);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 14)
    {
    Gang[playerid] = KARATE;
    GameTextForPlayer(playerid,"~n~~r~gang dos sk8",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 9);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 15)
    {
    Gang[playerid] = GIRL;
    GameTextForPlayer(playerid,"~n~~r~gang das girls",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 10);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 16)
    {
    Gang[playerid] = COWBOYS;
    GameTextForPlayer(playerid,"~n~~r~gang dos cowboys",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 11);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 17)
    {
    Gang[playerid] = COWBOYS;
    GameTextForPlayer(playerid,"~n~~r~gang dos cowboys",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 11);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 18)
    {
    Gang[playerid] = COWBOYS;
    GameTextForPlayer(playerid,"~n~~r~gang dos cowboys",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 11);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 19)
    {
    Gang[playerid] = AMUNISTAS;
    GameTextForPlayer(playerid,"~n~~r~gang dos Amunistas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 12);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 20)
    {
    Gang[playerid] = FRANGOS;
    GameTextForPlayer(playerid,"~n~~r~gang dos frangos",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 13);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 21)
    {
    Gang[playerid] = EMPRESARIOS;
    GameTextForPlayer(playerid,"~n~~r~gang dos empresarios",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 14);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 22)
    {
    Gang[playerid] = PILOTOS;
    GameTextForPlayer(playerid,"~n~~r~gang dos pilotos",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 15);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 23)
    {
    Gang[playerid] = PUTAS;
    GameTextForPlayer(playerid,"~n~~r~gang das putinhas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 16);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 24)
    {
    Gang[playerid] = PUTAS;
    GameTextForPlayer(playerid,"~n~~r~gang das putinhas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 16);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 25)
    {
    Gang[playerid] = PUTAS;
    GameTextForPlayer(playerid,"~n~~r~gang das putinhas",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 16);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 26)
    {
    Gang[playerid] = POLICIAIS;
    GameTextForPlayer(playerid,"~n~~r~gang dos policiais",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 17);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 27)
    {
    Gang[playerid] = POLICIAIS;
    GameTextForPlayer(playerid,"~n~~r~gang dos policiais",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    SetPlayerTeam(playerid, 17);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
if(classid == 28)
    {
    Gang[playerid] = POLICIAIS;
    GameTextForPlayer(playerid,"~n~~r~gang dos policiais",2000,3);
 SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1531.3909,687.4466,31.3199);
    SetPlayerCameraPos(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerCameraLookAt(playerid, -1541.4674,686.9395,31.4919);
    SetPlayerFacingAngle(playerid, 51.5555);
    ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)