Skip to content

Commit

Permalink
Resolve some missing pastebin links
Browse files Browse the repository at this point in the history
Resolves an issue with missing pastebin links. In the
future, some of this could be part of the docs (perhaps game references
section) as markdown.

Correct link that 404'd also add another link
  • Loading branch information
4mmonium committed Dec 1, 2022
1 parent 52b486d commit 84d18df
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 41 deletions.
4 changes: 1 addition & 3 deletions AUDIO/SetRadioToStationName.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: AUDIO
void SET_RADIO_TO_STATION_NAME(char* stationName);
```
```
For a full list, see here: pastebin.com/Kj9t38KF
```
Find the radio station list [here](https://gist.github.com/4mmonium/b47d6512a2d992cbf4eea15d9038b581)
## Parameters
* **stationName**:
Expand Down
4 changes: 1 addition & 3 deletions AUDIO/SetVehRadioStation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: AUDIO
void SET_VEH_RADIO_STATION(Vehicle vehicle, char* radioStation);
```
```
For a full list, see here: pastebin.com/Kj9t38KF
```
Find the radio station list [here](https://gist.github.com/4mmonium/b47d6512a2d992cbf4eea15d9038b581)
## Parameters
* **vehicle**:
Expand Down
6 changes: 3 additions & 3 deletions HUD/GetHudColour.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ ns: HUD
void GET_HUD_COLOUR(int hudColorIndex, int* r, int* g, int* b, int* a);
```
```
HUD colors and their values: pastebin.com/d9aHPbXN
```
Gets hud color RGBA parameter values by passing a hud color index (hudColorIndex).
HUD colors can be found [here](https://docs.fivem.net/docs/game-references/hud-colors/)
## Parameters
* **hudColorIndex**:
Expand Down
8 changes: 3 additions & 5 deletions HUD/ReplaceHudColour.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ aliases: ["0x1CCC708F0F850613","_SET_HUD_COLOURS_SWITCH"]
void REPLACE_HUD_COLOUR(int hudColorIndex, int hudColorIndex2);
```
```
HUD colors and their values: pastebin.com/d9aHPbXN
--------------------------------------------------
makes hudColorIndex2 color into hudColorIndex color
```
Changes the hud color at a given index (hudColorIndex) by another one (hudColorIndex2).
HUD colors can be found [here](https://docs.fivem.net/docs/game-references/hud-colors/)
## Parameters
* **hudColorIndex**:
Expand Down
4 changes: 1 addition & 3 deletions HUD/ReplaceHudColourWithRgba.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ aliases: ["0xF314CF4F0211894E","_SET_HUD_COLOUR"]
void REPLACE_HUD_COLOUR_WITH_RGBA(int hudColorIndex, int r, int g, int b, int a);
```
```
HUD colors and their values: pastebin.com/d9aHPbXN
```
Hud colors can be found [here](https://docs.fivem.net/docs/game-references/hud-colors/)
## Parameters
* **hudColorIndex**:
Expand Down
2 changes: 1 addition & 1 deletion HUD/SetMinimapComponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ An incomplete list of components ID:
6: Vespucci Beach lifeguard building.
15: Army base.
[List of hud colors](https://pastebin.com/d9aHPbXN)
[List of hud colors](https://docs.fivem.net/docs/game-references/hud-colors/)
## Parameters
* **componentID**: The component ID to change.
Expand Down
2 changes: 1 addition & 1 deletion HUD/SetMpGamerTagHealthBarColour.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Should be enabled as component (2). Has 0 alpha by default.
## Parameters
* **gamerTagId**: a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](https://runtime.fivem.net/doc/natives/?_0xBFEFE3321A3F5015)
* **hudColorIndex**: a hud color index, see the full list here: [link](pastebin.com/d9aHPbXN)
* **hudColorIndex**: a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
## Examples
```lua
Expand Down
4 changes: 1 addition & 3 deletions MISC/TerminateAllScriptsWithThisName.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: MISC
void TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME(char* scriptName);
```
```
For a full list, see here: pastebin.com/yLNWicUi
```
For a full list, see [here](https://gist.github.com/4mmonium/f76f3ecef649ed275b260b433ea84494).
## Parameters
* **scriptName**:
Expand Down
5 changes: 1 addition & 4 deletions OBJECT/CreateAmbientPickup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ ns: OBJECT
Pickup CREATE_AMBIENT_PICKUP(Hash pickupHash, float posX, float posY, float posZ, int flags, int value, Hash modelHash, BOOL returnHandle, BOOL p8);
```
```
Used for doing money drop
Pickup hashes: pastebin.com/8EuSv2r1
```
Creates an ambient pickup given the hash. Pickup hashes can be found [here](https://gist.github.com/4mmonium/1eabfb6b3996e3aa6b9525a3eccf8a0b).
## Parameters
* **pickupHash**:
Expand Down
4 changes: 1 addition & 3 deletions OBJECT/CreatePickup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: OBJECT
Pickup CREATE_PICKUP(Hash pickupHash, float posX, float posY, float posZ, int p4, int value, BOOL p6, Hash modelHash);
```
```
Pickup hashes: pastebin.com/8EuSv2r1
```
Pickup hashes can be found [here](https://gist.github.com/4mmonium/1eabfb6b3996e3aa6b9525a3eccf8a0b).
## Parameters
* **pickupHash**:
Expand Down
4 changes: 1 addition & 3 deletions OBJECT/CreatePortablePickup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: OBJECT
Object CREATE_PORTABLE_PICKUP(Hash pickupHash, float x, float y, float z, BOOL placeOnGround, Hash modelHash);
```
```
Pickup hashes: pastebin.com/8EuSv2r1
```
Pickup hashes can be found [here](https://gist.github.com/4mmonium/1eabfb6b3996e3aa6b9525a3eccf8a0b).
## Parameters
* **pickupHash**:
Expand Down
4 changes: 1 addition & 3 deletions OBJECT/DoesPickupOfTypeExistInArea.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ aliases: ["_IS_PICKUP_WITHIN_RADIUS"]
BOOL DOES_PICKUP_OF_TYPE_EXIST_IN_AREA(Hash pickupHash, float x, float y, float z, float radius);
```
```
Pickup hashes: pastebin.com/8EuSv2r1
```
Pickup hashes can be found [here](https://gist.github.com/4mmonium/1eabfb6b3996e3aa6b9525a3eccf8a0b).
## Parameters
* **pickupHash**:
Expand Down
4 changes: 1 addition & 3 deletions OBJECT/RemoveAllPickupsOfType.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: OBJECT
void REMOVE_ALL_PICKUPS_OF_TYPE(Hash pickupHash);
```
```
Pickup hashes: pastebin.com/8EuSv2r1
```
Pickup hashes can be found [here](https://gist.github.com/4mmonium/1eabfb6b3996e3aa6b9525a3eccf8a0b).
## Parameters
* **pickupHash**:
Expand Down
4 changes: 1 addition & 3 deletions STREAMING/RemoveIpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: STREAMING
void REMOVE_IPL(char* iplName);
```
```
IPL list: pastebin.com/iNGLY32D
```
IPL list can be found [here](https://gist.github.com/4mmonium/4c8a076b5f712a7cc64666003009a2e7).
## Parameters
* **iplName**:
Expand Down

0 comments on commit 84d18df

Please sign in to comment.