Car help.
#1

Is there a way that I can get my car where when the GM starts, they are all off?
Also, is there a way to turn off the vehicles engine, and not let it turn on, when the fuel runs out?
Thanks.
Reply
#2

https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
Reply
#3

I looked at it, makes no sense? :S could you help me please?
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)