[AJUDA] MotorL/MotorD
#1

Код:
if(!strcmp(cmdtext, "/ligarmotor",false)) {
        new engine,lights,alarm,doors,bonnet,boot,objective;
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, VERDE, "Vocк {FF0000}nгo {FFFFFF}estб em um {00FF00}veнculo{FFFFFF}");
        new vid = GetPlayerVehicleID(playerid);
        if(vid != INVALID_VEHICLE_ID) {
            GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective);
            SetVehicleParamsEx(vid, 1, lights, alarm, doors, bonnet, boot, objective);
        }
        return 1;
    }
    if(strcmp(cmdtext, "/desligarmotor",true) == 0) {
        new engine,lights,alarm,doors,bonnet,boot,objective;
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, VERDE, "Vocк {FF0000}nгo {FFFFFF}estб em um {00FF00}veнculo{FFFFFF}");
        new vid = GetPlayerVehicleID(playerid);
        if(vid != INVALID_VEHICLE_ID) {
            GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective);
            SetVehicleParamsEx(vid, 0, lights, alarm, doors, bonnet, boot, objective);
        }
        return 1;
    }
Entгo pessoal quando eu entro no carro ele jб comeзa ligado queria que ele comeзa-se desligado. alguem poderia editar o codigo assima para comecar desligado pf.
Reply


Messages In This Thread
[AJUDA] MotorL/MotorD - by Waldrey - 02.06.2012, 22:31
Re: [AJUDA] MotorL/MotorD - by leonardo1434 - 02.06.2012, 22:45
Re: [AJUDA] MotorL/MotorD - by WagnerPM - 02.06.2012, 23:09
Re: [AJUDA] MotorL/MotorD - by 'Duallity - 03.06.2012, 16:22
Re: [AJUDA] MotorL/MotorD - by leonardo1434 - 03.06.2012, 17:05
Re: [AJUDA] MotorL/MotorD - by 'Duallity - 03.06.2012, 17:15
Re: [AJUDA] MotorL/MotorD - by EduardoRFS - 03.06.2012, 20:24
Re: [AJUDA] MotorL/MotorD - by EditPawn - 03.06.2012, 20:25
Re: [AJUDA] MotorL/MotorD - by 'Duallity - 03.06.2012, 20:25
Re: [AJUDA] MotorL/MotorD - by Edu33 - 03.06.2012, 20:26

Forum Jump:


Users browsing this thread: 4 Guest(s)