[AJUDA]/Minigun
#1

Ola galera gostaria de saber como colocar pra nao contar score quando a pessoa matar no /minigun:

pawn Код:
if(strcmp(cmdtext, "/minigun", true) == 0)
{
    SetPlayerVirtualWorld(playerid, 8);
    ResetPlayerWeapons(playerid);
    new MinigunDM[128], playerName[MAX_PLAYER_NAME], RandomSpawn = random(11);
    GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
    if (RandomSpawn == 0) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2740.6250,-2435.7224,13.6453);
        SetPlayerFacingAngle(playerid, 247.9706);
    }
    if (RandomSpawn == 1) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2732.0576,-2479.6616,17.5937);
        SetPlayerFacingAngle(playerid, 329.4380);
    }
    if (RandomSpawn == 2) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2750.4324,-2501.9856,13.5622);
        SetPlayerFacingAngle(playerid, 46.8321);
    }
    if (RandomSpawn == 3) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2779.1577,-2539.4387,16.2244);
        SetPlayerFacingAngle(playerid, 121.7195);
    }
    if (RandomSpawn == 4) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2790.9666,-2495.0115,13.6464);
        SetPlayerFacingAngle(playerid, 196.2701);
    }
    if (RandomSpawn == 5) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2787.6602,-2463.4355,13.6337);
        SetPlayerFacingAngle(playerid, 247.9706);
    }
    if (RandomSpawn == 6) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2779.0688,-2410.7122,13.6358);
        SetPlayerFacingAngle(playerid, 329.4380);
    }
    if (RandomSpawn == 7) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2770.7979,-2386.9375,16.2244);
        SetPlayerFacingAngle(playerid, 46.8321);
    }
    if (RandomSpawn == 8) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2725.8982,-2438.3203,27.3156);
        SetPlayerFacingAngle(playerid, 121.7195);
    }
    if (RandomSpawn == 9) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2714.6912,-2463.9238,29.0870);
        SetPlayerFacingAngle(playerid, 196.2701);
        SetCameraBehindPlayer(playerid);
    }
    if (RandomSpawn == 10) {
        InCar[playerid] = false;
        BlockCheat[playerid] = true;
        SetPlayerPos(playerid, 2702.8577,-2484.5320,26.9798);
        SetPlayerFacingAngle(playerid, 121.7195);
    }
    GivePlayerWeapon(playerid, 38, 999999);
    SetPlayerInterior(playerid, 0);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 100);
    format(MinigunDM, sizeof(MinigunDM), "{FAE605}[DUELO]: {FA053A}'%s' {FAE605}Foi Para o Combate Minigun. Quem vai?{FA053A}( /Minigun )", playerName);
    SendClientMessageToAll(COR_ROXO, MinigunDM);
    return 1;
}
Reply
#2

pawn Код:
//onplayerdeath
if(GetPlayerVirtualWorld(killerid) == 8) return 1;
Considerando q vc sу use esse VW para o /minigun.
Reply
#3

caso eu for por em outro comando e ele for :
pawn Код:
SetPlayerVirtualWorld(playerid, 9);
eu tenho que por:
pawn Код:
if(GetPlayerVirtualWorld(killerid) == 9) return 1;
Reply
#4

Sim.
Reply
#5

entaum fmz REP ++
Reply
#6

Pharrel, me dб um rep sу pra checar uma coisa? xD
Reply
#7

Minha rep vale por 5 kkkk
Reply
#8

Lol, imagine a do Kye.
Reply
#9

Imagine a do ******, ele й o q tem mais rpt Crika
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)