-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update majority of VEHICLE hashed natives
- Loading branch information
Showing
203 changed files
with
2,368 additions
and
1,364 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0xb264c4d2f2b0a78b.md → ...mbientVehiclesToAvoidAdverseConditions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0x2310a8f9421ebf43.md → VEHICLE/AllowTrainToBeRemovedByPopulation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0xf78f94d60248c737.md → VEHICLE/ArePlaneControlPanelsIntact.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0x2c1d8b3b19e517cc.md → VEHICLE/CanCargobobPickUpEntity.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
ns: VEHICLE | ||
--- | ||
## CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST | ||
|
||
```c | ||
// 0x0A436B8643716D14 0x6C73E45A | ||
void CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST(); | ||
``` | ||
|
||
Script Usage: | ||
|
||
// launcher_basejumpheli.ysc @ L917 | ||
void func_5() | ||
{ | ||
if (iLocal_81 == 0) | ||
{ | ||
VEHICLE::CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST(); | ||
} | ||
AUDIO::SET_AUDIO_FLAG("DisableFlightMusic", 0); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
ns: VEHICLE | ||
--- | ||
## CLEAR_VEHICLE_PETROLTANK_FIRE_CULPRIT | ||
|
||
```c | ||
// 0x4419966C9936071A | ||
void CLEAR_VEHICLE_PETROLTANK_FIRE_CULPRIT(Vehicle vehicle); | ||
``` | ||
``` | ||
Script Usage: | ||
|
||
// fm_race_creator.ysc @ L212579 | ||
void func_1941(int iParam0) | ||
{ | ||
if (ENTITY::DOES_ENTITY_EXIST(Global_2437549.f_594[iParam0])) | ||
{ | ||
if (!ENTITY::IS_ENTITY_DEAD(Global_2437549.f_594[iParam0], 0)) | ||
{ | ||
if (NETWORK::NETWORK_HAS_CONTROL_OF_ENTITY(Global_2437549.f_594[iParam0])) | ||
{ | ||
if (VEHICLE::_0x5BA68A0840D546AC(Global_2437549.f_594[iParam0], Global_2437549.f_593)) | ||
{ | ||
VEHICLE::_0x4419966C9936071A(Global_2437549.f_594[iParam0]); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
## Parameters | ||
* **vehicle**: | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
ns: VEHICLE | ||
--- | ||
## DISABLE_VEHICLE_EXPLOSION_BREAK_OFF_PARTS | ||
|
||
```c | ||
// 0xF25E02CB9C5818F8 0xF0E59BC1 | ||
void DISABLE_VEHICLE_EXPLOSION_BREAK_OFF_PARTS(); | ||
``` | ||
|
||
|
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0x99cad8e7afdb60fa.md → VEHICLE/ForceSubThrottleForTime.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0xc67db108a9ade3be.md → VEHICLE/ForceSubmarineNeutralBuoyancy.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0xa4822f1cf23f4810.md → ...LE/GenerateVehicleCreationPosFromPaths.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0xe8718faf591fd224.md → VEHICLE/GetHasVehicleBeenHitByShunt.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
ns: VEHICLE | ||
--- | ||
## GET_IN_VEHICLE_CLIPSET_HASH_FOR_SEAT | ||
|
||
```c | ||
// 0xA01BC64DD4BFBBAC 0x5ED1EECC | ||
Hash GET_IN_VEHICLE_CLIPSET_HASH_FOR_SEAT(Vehicle vehicle, int seatIndex); | ||
``` | ||
## Parameters | ||
* **vehicle**: | ||
* **seatIndex**: | ||
## Return value |
5 changes: 3 additions & 2 deletions
5
VEHICLE/N_0xba91d045575699ad.md → VEHICLE/GetIsBoatCapsized.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0xeebfc7a7efdc35b4.md → VEHICLE/GetVehicleColoursWhichCanBeSet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0x6eaaefc76acc311f.md → VEHICLE/GetVehicleHomingLockedontoState.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
VEHICLE/N_0x8533cafde1f0f336.md → VEHICLE/GetVehicleIsDummy.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
ns: VEHICLE | ||
--- | ||
## HAS_VEHICLE_PETROLTANK_SET_ON_FIRE_BY_ENTITY | ||
|
||
```c | ||
// 0x5BA68A0840D546AC | ||
Any HAS_VEHICLE_PETROLTANK_SET_ON_FIRE_BY_ENTITY(Any p0, Any p1); | ||
``` | ||
Script Usage: | ||
// fm_race_creator.ysc @ L212579 | ||
void func_1941(int iParam0) | ||
{ | ||
if (ENTITY::DOES_ENTITY_EXIST(Global_2437549.f_594[iParam0])) | ||
{ | ||
if (!ENTITY::IS_ENTITY_DEAD(Global_2437549.f_594[iParam0], 0)) | ||
{ | ||
if (NETWORK::NETWORK_HAS_CONTROL_OF_ENTITY(Global_2437549.f_594[iParam0])) | ||
{ | ||
if (VEHICLE::HAS_VEHICLE_PETROLTANK_SET_ON_FIRE_BY_ENTITY(Global_2437549.f_594[iParam0], Global_2437549.f_593)) | ||
{ | ||
VEHICLE::_0x4419966C9936071A(Global_2437549.f_594[iParam0]); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
## Parameters | ||
* **p0**: | ||
* **p1**: | ||
## Return value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
ns: VEHICLE | ||
--- | ||
## LOCK_DOORS_WHEN_NO_LONGER_NEEDED | ||
|
||
```c | ||
// 0xCFD778E7904C255E 0x3FBE904F | ||
void LOCK_DOORS_WHEN_NO_LONGER_NEEDED(Vehicle vehicle); | ||
``` | ||
``` | ||
script usage: | ||
|
||
// am_mp_vehicle_reward.ysc @ L290 | ||
void func_8() | ||
{ | ||
int iVar0; | ||
|
||
if (Local_96.f_8 != -1) | ||
{ | ||
if (func_12()) | ||
{ | ||
if (((ENTITY::DOES_ENTITY_EXIST(Local_96.f_11[Local_96.f_8]) && (!ENTITY::IS_ENTITY_DEAD(Local_96.f_11[Local_96.f_8], 0) || ENTITY::IS_ENTITY_IN_WATER(Local_96.f_11[Local_96.f_8]))) && func_10(Local_96.f_11[Local_96.f_8], 1, 0, 0, 0, 0, 1, 0, 1)) && !PED::IS_PED_IN_VEHICLE(PLAYER::PLAYER_PED_ID(), Local_96.f_11[Local_96.f_8], 0)) | ||
{ | ||
iVar0 = Local_96.f_11[Local_96.f_8]; | ||
if (NETWORK::NETWORK_HAS_CONTROL_OF_ENTITY(iVar0)) | ||
{ | ||
if (func_9(iVar0, &(Local_96.f_9))) | ||
{ | ||
if (VEHICLE::IS_VEHICLE_DRIVEABLE(iVar0, 0)) | ||
{ | ||
VEHICLE::SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS(iVar0, 1); | ||
VEHICLE::LOCK_DOORS_WHEN_NO_LONGER_NEEDED(iVar0); | ||
} | ||
NETWORK::NETWORK_FADE_OUT_ENTITY(iVar0, 0, 1); | ||
VEHICLE::DELETE_VEHICLE(&iVar0); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
## Parameters | ||
* **vehicle**: | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.