Car help.
#4

If you wan't to GetVehicle Doors (state is locked or opened) you're using this like:
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
    GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
    if(doors) // If doors, are opened.
    {
        SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, VEHICLE_PARAMS_ON, bonnet, boot, objective);
    }
Reply


Messages In This Thread
Car help. - by iGetty - 10.03.2011, 10:40
Re: Car help. - by Riddick94 - 10.03.2011, 10:43
Re: Car help. - by iGetty - 10.03.2011, 10:46
Re: Car help. - by Riddick94 - 10.03.2011, 11:00

Forum Jump:


Users browsing this thread: 1 Guest(s)