[Ajuda] Motor do Carro
#4

OnGameModeInit:

pawn Код:
ManualVehicleEngineAndLights();
comando:
pawn Код:
if(strcmp(cmdtext, "/ligar", true) == 0)
    {
        new vid = GetPlayerVehicleID(playerid);
        new doors,lights,engine,alarm,bonnet,boot,objective;

        if(vid != INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xFFFFFF, "Vocк nгo esta em um veiculo");
        {
            GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
            SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
        }
        return 1;
    }
Reply


Messages In This Thread
[Ajuda] Motor do Carro - by SlinghShoot - 06.08.2011, 18:36
Re: [Ajuda] Motor do Carro - by Falcon. - 06.08.2011, 19:11
Respuesta: [Ajuda] Motor do Carro - by xxzim - 06.08.2011, 20:13
Re: [Ajuda] Motor do Carro - by Victor Cesaroni - 06.08.2011, 21:32
Re: [Ajuda] Motor do Carro - by SlinghShoot - 07.08.2011, 11:21
Re: [Ajuda] Motor do Carro - by Vai_Besta - 07.08.2011, 14:06

Forum Jump:


Users browsing this thread: 3 Guest(s)