[Ajuda] Veiculos das Orgs [Todos entram]
#1

Olб pessoal do FSAMP, eu estou com um poblema que ja fiz tanta coisa pra tentar resolver e nada!!!
Os carros de algumas orgs de meu gm estгo com o poblema de que qualquer 1 mesmo nгo sendo da org pode entrar..

aqui vai o da org 22 = Alqaeda

News do Comeзo do GM
pawn Код:
new Alqaedacars[10];
public OnGameModeInit()
pawn Код:
//ALQAEDA
    Alqaedacars[0] = CreateVehicle(520,324.9713,2540.2708,17.5394,178.4089,13,15,900000000);
    Alqaedacars[1] = CreateVehicle(520,291.0008,2537.9241,17.5511,181.5882,13,15,900000000);
    Alqaedacars[2] = CreateVehicle(432,340.9103,2540.8843,16.7968,178.7747,13,15,900000000);
    Alqaedacars[3] = CreateVehicle(432,347.8843,2540.6343,16.7605,178.7184,13,15,900000000);
    Alqaedacars[4] = CreateVehicle(447,365.1062,2534.7402,16.6932,179.8974,0,0,900000000);
    Alqaedacars[5] = CreateVehicle(521,401.8698,2537.3992,16.1111,138.8839,0,0,900000000);
    Alqaedacars[6] = CreateVehicle(521,405.7745,2537.2878,16.1167,144.6921,0,0,900000000);
    Alqaedacars[7] = CreateVehicle(458,392.5025,2534.7722,16.4214,178.9787,0,0,900000000);
    Alqaedacars[8] = CreateVehicle(458,386.5785,2534.9148,16.4177,177.8372,0,0,900000000);
    Alqaedacars[9] = CreateVehicle(458,380.9190,2535.1545,16.4308,176.7726,0,0,900000000);
public OnPlayerStateChange(playerid, newstate, oldstate)
pawn Код:
if(vid==Alqaedacars[0]||vid==Alqaedacars[1]||vid==Alqaedacars[2]||vid==Alqaedacars[3]||vid==Alqaedacars[4]||vid==Alqaedacars[5]||vid==Alqaedacars[6]||vid==Alqaedacars[7]||vid==Alqaedacars[8]||vid==Alqaedacars[9])
        {
            if(PlayerInfo[playerid][pMember] == 22||PlayerInfo[playerid][pLeader] == 22) {  }
            else
            {
                SendClientMessage(playerid,COLOR_RED,"{FF3D3D}[Erro]{FFFFFF} Vocк nгo й da Alqaeda.");
                RemovePlayerFromVehicle(playerid);
                TogglePlayerControllable(playerid, 1);
            }
        }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)