[Ajuda] Sistema de Ligar veiculo
#5

Код:
        if(newkeys & KEY_ACTION) {
        if(IsABicicleta(GetPlayerVehicleID(playerid)) && GetPlayerState(playerid) == 2) return SendClientMessage(playerid, 0x478999, "{7000DF}[LSD]: {FFFFFF}Bicicletas Nгo possuem Motor.");
            g_vFlags[vehicleid] ^= FLAG_VEHICLE_ENGINE;
            SetVehicleParamsEx(vehicleid, !!(g_vFlags[vehicleid] & FLAG_VEHICLE_ENGINE), lightsson, alarm, doors, bonnet, boot, objective);
            if(g_vFlags[vehicleid] & FLAG_VEHICLE_ENGINE)
                SendClientMessage(playerid, 0x32cd32ff, "motor on.");
            else
                SendClientMessage(playerid, 0xff0000ff, "motor off.");
        }
Coloquei , mais tipo a bicicleta Spawna no GM ja desligada sabe ? queria colocar para elas aparecerem "ligadas"!
Reply


Messages In This Thread
Sistema de Ligar veiculo - by sonmook - 03.06.2014, 05:52
Re: Sistema de Ligar veiculo - by PT - 03.06.2014, 10:12
Re: Sistema de Ligar veiculo - by sonmook - 03.06.2014, 17:11
Re: Sistema de Ligar veiculo - by Lucas-Fc - 03.06.2014, 22:25
Re: Sistema de Ligar veiculo - by sonmook - 04.06.2014, 04:09
Re: Sistema de Ligar veiculo - by PT - 04.06.2014, 11:55
Re: Sistema de Ligar veiculo - by sonmook - 04.06.2014, 17:03
Re: Sistema de Ligar veiculo - by PT - 04.06.2014, 17:20
Re: Sistema de Ligar veiculo - by sonmook - 04.06.2014, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)