Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Pass 1 #916

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions AUDIO/ClearAmbientZoneListState.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ ns: AUDIO

```c
// 0x120C48C614909FA4 0x38B9B8D4
void CLEAR_AMBIENT_ZONE_LIST_STATE(Any* p0, BOOL p1);
void CLEAR_AMBIENT_ZONE_LIST_STATE(char* ambientZone, BOOL p1);
```


## Parameters
* **p0**:
* **ambientZone**:
* **p1**:

2 changes: 1 addition & 1 deletion AUDIO/FindRadioStationIndex.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: AUDIO

```c
// 0x8D67489793FF428B 0xECA1512F
int FIND_RADIO_STATION_INDEX(int stationNameHash);
int FIND_RADIO_STATION_INDEX(Hash stationNameHash);
```


Expand Down
5 changes: 3 additions & 2 deletions AUDIO/HintAmbientAudioBank.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ ns: AUDIO

```c
// 0x8F8C0E370AE62F5C 0xF1850DDC
Any HINT_AMBIENT_AUDIO_BANK(Any p0, Any p1);
Any HINT_AMBIENT_AUDIO_BANK(char* audiobank, BOOL p1, Any p2);
```

```
NativeDB Added Parameter 3: Any p2
```

## Parameters
* **p0**:
* **audiobank**:
* **p1**:
* **p2**:

## Return value
5 changes: 3 additions & 2 deletions AUDIO/HintScriptAudioBank.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ ns: AUDIO

```c
// 0xFB380A29641EC31A 0x41FA0E51
Any HINT_SCRIPT_AUDIO_BANK(Any p0, int p1);
Any HINT_SCRIPT_AUDIO_BANK(char* audiobank, BOOL p1, Any p2);
```

```
NativeDB Added Parameter 3: Any p2
```

## Parameters
* **p0**:
* **audiobank**:
* **p1**:
* **p2**:

## Return value
8 changes: 4 additions & 4 deletions AUDIO/InterruptConversation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ns: AUDIO

```c
// 0xA018A12E5C5C2FA6 0xF3A67AF3
void INTERRUPT_CONVERSATION(Any p0, Any* p1, Any* p2);
void INTERRUPT_CONVERSATION(Ped ped, char* voiceline, char* speaker);
```


## Parameters
* **p0**:
* **p1**:
* **p2**:
* **ped**:
* **voiceline**:
* **speaker**:

2 changes: 1 addition & 1 deletion AUDIO/IsScriptedSpeechPlaying.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: AUDIO

```c
// 0xCC9AA18DCC7084F4 0x2C653904
BOOL IS_SCRIPTED_SPEECH_PLAYING(Any p0);
BOOL IS_SCRIPTED_SPEECH_PLAYING(Ped p0);
```


Expand Down
6 changes: 5 additions & 1 deletion AUDIO/N_0x11579d940949c49e.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ ns: AUDIO

```c
// 0x11579D940949C49E
void _0x11579D940949C49E(Any p0);
void _0x11579D940949C49E(char* p0);
```

```
UNHINT_NAMED_SCRIPT_AUDIO_BANK
UnhintNamedScriptAudioBank
```

## Parameters
* **p0**:
Expand Down
8 changes: 6 additions & 2 deletions AUDIO/N_0x1b7abe26cbcbf8c7.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ ns: AUDIO

```c
// 0x1B7ABE26CBCBF8C7
void _0x1B7ABE26CBCBF8C7(Ped ped, Any p1, Any p2);
void _0x1B7ABE26CBCBF8C7(Ped ped, int p1, Hash voiceGroup);
```

```
SET_PED_RACE_AND_VOICE_GROUP
SetPedRaceAndVoiceGroup
```

## Parameters
* **ped**:
* **p1**:
* **p2**:
* **voiceGroup**:

8 changes: 6 additions & 2 deletions AUDIO/N_0x40763ea7b9b783e7.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ ns: AUDIO

```c
// 0x40763EA7B9B783E7
Any _0x40763EA7B9B783E7(char* p0, int p1, int p2);
Any _0x40763EA7B9B783E7(char* audiobank, BOOL p1, Any p2);
```

```
HINT_MISSION_AUDIO_BANK
HintMissionAudioBank
```

## Parameters
* **p0**:
* **audiobank**:
* **p1**:
* **p2**:

Expand Down
11 changes: 8 additions & 3 deletions AUDIO/N_0x55ecf4d13d9903b0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ ns: AUDIO

```c
// 0x55ECF4D13D9903B0
void _0x55ECF4D13D9903B0(Any p0, Any p1, Any p2, Any p3);
void _0x55ECF4D13D9903B0(char* radioName, char* radioTrack, char* p2, char* p3);
```

```
NativeDB Introduced: v1868
```

```
SET_NEXT_RADIO_TRACK
SetNextRadioTrack
```

## Parameters
* **p0**:
* **p1**:
* **radioName**:
* **radioTrack**:
* **p2**:
* **p3**:
14 changes: 9 additions & 5 deletions AUDIO/N_0x5b9853296731e88d.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ ns: AUDIO

```c
// 0x5B9853296731E88D
void _0x5B9853296731E88D(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5);
void _0x5B9853296731E88D(int soundId, Hash model, Entity ent, Hash soundSetHash, Any p4, Any p5);
```

```
PLAY_SOUND_FROM_ENTITY_HASH
PlaySoundFromEntityHash
```

## Parameters
* **p0**:
* **p1**:
* **p2**:
* **p3**:
* **soundId**:
* **model**:
* **ent**:
* **soundSetHash**:
* **p4**:
* **p5**:

14 changes: 9 additions & 5 deletions AUDIO/N_0x7ec3c679d0e7e46b.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ ns: AUDIO

```c
// 0x7EC3C679D0E7E46B
void _0x7EC3C679D0E7E46B(Any p0, Any p1, Any p2, Any p3);
void _0x7EC3C679D0E7E46B(int soundId, float x, float y, float z);
```

```
UPDATE_SOUND_COORD
UpdateSoundCoord
```

## Parameters
* **p0**:
* **p1**:
* **p2**:
* **p3**:
* **soundId**:
* **x**:
* **y**:
* **z**:

5 changes: 4 additions & 1 deletion AUDIO/N_0x9bd7bd55e4533183.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ ns: AUDIO

```c
// 0x9BD7BD55E4533183
void _0x9BD7BD55E4533183(Any p0, Any p1, Any p2);
void _0x9BD7BD55E4533183(BOOL p0, BOOL p1, BOOL p2);
```

```
SET_VEHICLE_CONVERSATIONS_PERSIST_NEW
SetVehicleConversationsPersistNew

NativeDB Introduced: v1290
```

Expand Down
7 changes: 5 additions & 2 deletions AUDIO/N_0xab6781a5f3101470.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ ns: AUDIO

```c
// 0xAB6781A5F3101470
void _0xAB6781A5F3101470(Any p0, Any p1);
void _0xAB6781A5F3101470(Ped ped, BOOL p1);
```

```
STOP_PED_SPEAKING_SYNCED
StopPedSyncingSynced

NativeDB Introduced: v1868
```

## Parameters
* **p0**:
* **ped**:
* **p1**:
3 changes: 2 additions & 1 deletion AUDIO/N_0xc64a06d939f826f5.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ BOOL _0xC64A06D939F826F5(float* p0, cs_type(AnyPtr) float* p1, int* p2);
```

```
GET_NE*
GET_NEXT_AUDIBLE_BEAT
GetNextAudibleBeat

NativeDB Introduced: v1493
```
Expand Down
15 changes: 10 additions & 5 deletions AUDIO/N_0xc8ede9bdbccba6d4.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ ns: AUDIO

```c
// 0xC8EDE9BDBCCBA6D4 0x55A21772
void _0xC8EDE9BDBCCBA6D4(Any* p0, float p1, float p2, float p3);
void _0xC8EDE9BDBCCBA6D4(char* audioEvent, float x, float y, float z);
```

```
INIT_SYNCH_SCENE_AUDIO_WITH_POSITION
InitSynchSceneAudioWithPosition
```


## Parameters
* **p0**:
* **p1**:
* **p2**:
* **p3**:
* **audioEvent**:
* **x**:
* **y**:
* **z**:

6 changes: 5 additions & 1 deletion AUDIO/N_0xd2dccd8e16e20997.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ ns: AUDIO

```c
// 0xD2DCCD8E16E20997
void _0xD2DCCD8E16E20997(Any p0);
void _0xD2DCCD8E16E20997(Vehicle p0);
```

```
RESET_VEHICLE_STARTUP_REV_SOUND
ResetVehicleStartupRevSound
```

## Parameters
* **p0**:
Expand Down
2 changes: 1 addition & 1 deletion AUDIO/OverrideUnderwaterStream.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: AUDIO

```c
// 0xF2A9CDABCEA04BD6 0x9A083B7E
void OVERRIDE_UNDERWATER_STREAM(Any* p0, BOOL p1);
void OVERRIDE_UNDERWATER_STREAM(char* p0, BOOL p1);
```


Expand Down
3 changes: 2 additions & 1 deletion AUDIO/PlayPain.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: AUDIO

```c
// 0xBC9AE166038A5CEC 0x874BD6CB
void PLAY_PAIN(Ped ped, int painID, int p1);
void PLAY_PAIN(Ped ped, int painID, int p1, Any p3);
```

**Warning**:
Expand Down Expand Up @@ -64,6 +64,7 @@ Below is a list of all the pain IDs (Asterisks indicate that sounds can play in
## Parameters
* **ped**: The ped entity.
* **painID**: The pain id, max allowed id is 33.
* **p3**:

## Examples
```lua
Expand Down
4 changes: 2 additions & 2 deletions AUDIO/PlayPedAmbientSpeechAndCloneNative.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ aliases: ["_PLAY_AMBIENT_SPEECH2"]

```c
// 0xC6941B4A3A8FBBB9 0x444180DB
void PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE(Ped ped, char* speechName, char* speechParam);
void PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE(Ped ped, char* speechName, char* speechParam, Any p3);
```

See [`PLAY_PED_AMBIENT_SPEECH_NATIVE`](#_0x8E04FEDD28D42462) for parameter specifications.
Expand All @@ -19,4 +19,4 @@ NativeDB Added Parameter 4: Any p3
* **ped**:
* **speechName**:
* **speechParam**:

* **p3**:
3 changes: 2 additions & 1 deletion AUDIO/PlayPedAmbientSpeechNative.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ aliases: ["_PLAY_AMBIENT_SPEECH1"]

```c
// 0x8E04FEDD28D42462 0x5C57B85D
void PLAY_PED_AMBIENT_SPEECH_NATIVE(Ped ped, char* speechName, char* speechParam);
void PLAY_PED_AMBIENT_SPEECH_NATIVE(Ped ped, char* speechName, char* speechParam, Any p3);
```

Plays ambient speech; see also [`PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE`](#_0xC6941B4A3A8FBBB9).
Expand Down Expand Up @@ -61,4 +61,5 @@ NativeDB Added Parameter 4: Any p3
* **ped**: The ped to play the ambient speech.
* **speechName**: Name of the speech to play, eg. "GENERIC_HI".
* **speechParam**:
* **p3**:

4 changes: 2 additions & 2 deletions AUDIO/PlaySynchronizedAudioEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ ns: AUDIO

```c
// 0x8B2FD4560E55DD2D 0x507F3241
BOOL PLAY_SYNCHRONIZED_AUDIO_EVENT(Any p0);
BOOL PLAY_SYNCHRONIZED_AUDIO_EVENT(int sceneId);
```


## Parameters
* **p0**:
* **sceneId**:

## Return value
6 changes: 3 additions & 3 deletions AUDIO/PrepareSynchronizedAudioEventForScene.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ns: AUDIO

```c
// 0x029FE7CD1B7E2E75 0x7652DD49
BOOL PREPARE_SYNCHRONIZED_AUDIO_EVENT_FOR_SCENE(Any p0, Any* p1);
BOOL PREPARE_SYNCHRONIZED_AUDIO_EVENT_FOR_SCENE(int sceneId, char* audioEvent);
```


## Parameters
* **p0**:
* **p1**:
* **sceneId**:
* **audioEvent**:

## Return value
5 changes: 3 additions & 2 deletions AUDIO/RequestAmbientAudioBank.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: AUDIO

```c
// 0xFE02FFBED8CA9D99 0x23C88BC7
BOOL REQUEST_AMBIENT_AUDIO_BANK(char* p0, BOOL p1);
BOOL REQUEST_AMBIENT_AUDIO_BANK(char* audiobank, BOOL p1, Any p2);
```

```
Expand All @@ -17,7 +17,8 @@ NativeDB Added Parameter 3: Any p2
```

## Parameters
* **p0**:
* **audiobank**:
* **p1**:
* **p2**:

## Return value
Loading
Loading