About opening a trunk & first vehicle id?
#3

Quote:
Originally Posted by kbalor
Посмотреть сообщение
pawn Код:
new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
    if(boot == VEHICLE_PARAMS_OFF || boot == VEHICLE_PARAMS_UNSET) SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, VEHICLE_PARAMS_ON, objective);
    else SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, VEHICLE_PARAMS_OFF, objective);
Thanks alot, it works that way.

How about getting all those vehicles that haves a trunk?
Reply


Messages In This Thread
About opening a trunk & first vehicle id? - by ddnbb - 23.08.2012, 17:16
Re: About opening a trunk & first vehicle id? - by kbalor - 23.08.2012, 17:25
Re: About opening a trunk & first vehicle id? - by ddnbb - 23.08.2012, 17:30

Forum Jump:


Users browsing this thread: 3 Guest(s)