SET VEHICLE DOOR OPEN

From GTAMods Wiki
Revision as of 03:53, 15 June 2017 by Gosuphobia (talk | contribs) (Created page with "{{Native |np=2 |p1t=vehicle |p1d= |p2t=door id |p2d= }} Door Ids: 0 - Left front door 1 - Right front door 2 - Left rear door 3 - Right rear door 4 - Hood 5 - Trunk...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SET_VEHICLE_DOOR_OPEN
Number of parameters: 2
Parameter #TypeDescription
1.vehicle
2.door id
Return value:
TypeDescription
None


Door Ids:

0 - Left front door

1 - Right front door

2 - Left rear door

3 - Right rear door

4 - Hood

5 - Trunk


Ex:

Ped player = Game.Player.Character;

Vehicle vehicle = player.CurrentVehicle;

Function.Call(Hash.SET_VEHICLE_DOOR_OPEN, vehicle, 5);