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

fix(images): use github/repo as hosting #1125

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions CAM/SetCamSplineSmoothingStyle.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ Ranges from 0 to 3 in rockstar scripts although there are actually 26

The above is documented and graphed at [Spline Cam Interp Graphs](https://docs.google.com/spreadsheets/d/1ejyiMcEYrhhQOL0mLe8664UN-vU4Oh-SBqQnVcKlFIk/edit?usp=sharing)

```

Using 1-3 will result in misalignment from the passed durations for the spline nodes, the overall duration will remain but other nodes will be shortened if smoothing anything.

Graph below demonstrates interpolation between 0-1000 and back 10 times.

![](https://i.imgur.com/cixWh7m.png)
![](./SetCamSplineSmoothingStyle/Lj97T3F.webp)

## Parameters
* **cam**: The DEFAULT_SPLINE_CAMERA to apply the smoothing to
Expand Down
Binary file added CAM/SetCamSplineSmoothingStyle/Lj97T3F.webp
Binary file not shown.
Binary file added GRAPHICS/DrawSphere/nCbtS4H.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions HUD/AddBlipForEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Create a blip that by default is red (enemy), you can use [SET_BLIP_AS_FRIENDLY]
Can be used for objects, vehicles and peds.

Example of enemy:
![enemy](https://i.imgur.com/fl78svv.png)
![enemy](./AddBlipForEntity/1agTGTa.webp)
Example of friend:
![friend](https://i.imgur.com/Q16ho5d.png)
![friend](./AddBlipForEntity/uHpLos3.webp)

## Parameters
* **entity**: The entity handle to create the blip.
Expand Down
Binary file added HUD/AddBlipForEntity/1agTGTa.webp
Binary file not shown.
Binary file added HUD/AddBlipForEntity/uHpLos3.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions HUD/AddBlipForRadius.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Blip ADD_BLIP_FOR_RADIUS(float posX, float posY, float posZ, float radius);
Create a blip with a radius for the specified coordinates (it doesnt create the blip sprite, so you need to use [AddBlipCoords](#_0xC6F43D0E))

Example image:
![example](https://i.imgur.com/9hQl3DB.png)

![example](./AddBlipForRadius/PYjCapV.webp)

## Parameters
* **posX**: The x position of the blip (you can also send a vector3 instead of the bulk coordinates)
Expand All @@ -21,7 +22,6 @@ Example image:
## Return value
The blip handle that can be manipulated with every `SetBlip` natives


## Examples
```lua
local coords = vector3(0.0, 0.0, 0.0)
Expand Down
Binary file added HUD/AddBlipForRadius/PYjCapV.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/AddTextComponentFloat.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void ADD_TEXT_COMPONENT_FLOAT(float value, int decimalPlaces);

Adds a float to a text component placeholder, replacing `~1~` in the current text command's text label.

![Example output](https://i.imgur.com/jvuQ0II.png)
![Example output](./AddTextComponentFloat/jvuQ0II.webp)

## Parameters
* **value**: The number to substitute in the label.
Expand Down
Binary file added HUD/AddTextComponentFloat/jvuQ0II.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/EndTextCommandThefeedPostAward.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ int END_TEXT_COMMAND_THEFEED_POST_AWARD(char* textureDict, char* textureName, in

Shows an "award" notification above the minimap, lua example result:

![](https://i.imgur.com/e2DNaKX.png)
![](./EndTextCommandThefeedPostAward/DYB5qo5.webp)



Expand Down
Binary file added HUD/EndTextCommandThefeedPostAward/DYB5qo5.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/EndTextCommandThefeedPostMessagetext.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Texture dictionary and texture name parameters are usually the same exact value.

Example result:

![](https://i.imgur.com/LviutDl.png)
![](./EndTextCommandThefeedPostMessagetext/RrZthgE.webp)

Old description with list of possible icons and texture names:

Expand Down
Binary file not shown.
3 changes: 2 additions & 1 deletion HUD/EndTextCommandThefeedPostMessagetextTu.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ v_8 = UI::END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU("CHAR_SOCIAL_CLUB", "CHAR
```

Example result:
![](https://i.imgur.com/YrN4Bcm.png)

![](./EndTextCommandThefeedPostMessagetextTu/DybiVQM.webp)


## Parameters
Expand Down
Binary file not shown.
4 changes: 1 addition & 3 deletions HUD/EndTextCommandThefeedPostStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ int END_TEXT_COMMAND_THEFEED_POST_STATS(char* statTitle, int iconEnum, BOOL step

[List of picture names](https://pastebin.com/XdpJVbHz)


Example result:


![](https://i.imgur.com/SdEZ22m.png)
![](./EndTextCommandThefeedPostStats/LCHQpjg.webp)


## Parameters
Expand Down
Binary file added HUD/EndTextCommandThefeedPostStats/LCHQpjg.webp
Binary file not shown.
3 changes: 1 addition & 2 deletions HUD/EndTextCommandThefeedPostTicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ int END_TEXT_COMMAND_THEFEED_POST_TICKER(BOOL isImportant, BOOL bHasTokens);

Example output preview:


![](https://i.imgur.com/TJvqkYq.png)
![](./EndTextCommandThefeedPostTicker/jpUdMTP.webp)


## Examples
Expand Down
Binary file added HUD/EndTextCommandThefeedPostTicker/jpUdMTP.webp
Binary file not shown.
3 changes: 1 addition & 2 deletions HUD/SetBlipCategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void SET_BLIP_CATEGORY(Blip blip, int index);

Examples result:

![](https://i.imgur.com/skY6vAJ.png)
![](./SetBlipCategory/3ralFxl.webp)


**index:**
Expand Down Expand Up @@ -53,4 +53,3 @@ blip = AddBlipForCoord(-927.92755126953, -2824.1362304688, 13.947744369507)
SetBlipSprite(blip, 372) -- Hangar For Sale
SetBlipCategory(blip, 10)
```

Binary file added HUD/SetBlipCategory/3ralFxl.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/SetMultiplayerBankCash.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void SET_MULTIPLAYER_BANK_CASH();

Preview image:

![](https://i.imgur.com/1BTmdyv.png)
![](./SetMultiplayerBankCash/055yfLG.webp)

To change the bank balance use [`STAT_SET_INT`](#_0xB3271D7AB655B441) with "BANK_BALANCE" to whatever value you need to.

Expand Down
Binary file added HUD/SetMultiplayerBankCash/055yfLG.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/SetMultiplayerWalletCash.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void SET_MULTIPLAYER_WALLET_CASH();

Preview image:

![](https://i.imgur.com/1BTmdyv.png)
![](./SetMultiplayerWalletCash/055yfLG.webp)

To change money value use [`STAT_SET_INT`](#_0xB3271D7AB655B441) with "MP0_WALLET_BALANCE" to whatever value you need to.

Expand Down
Binary file added HUD/SetMultiplayerWalletCash/055yfLG.webp
Binary file not shown.
6 changes: 1 addition & 5 deletions HUD/SetWarningMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ enum INSTRUCTIONAL_BUTTON_TYPES
Note: this list is definitely NOT complete, but these are the ones I've been able to find before giving up because it's such a boring thing to look for 'good' combinations.

**Result of the example code:**
[https://i.imgur.com/imwoimm.png](https://i.imgur.com/imwoimm.png)

![](./SetWarningMessage/cNm7zZe.webp)

## Parameters
* **entryLine1**: The text label to display as the first line of the warning message.
Expand All @@ -88,9 +88,6 @@ Note: this list is definitely NOT complete, but these are the ones I've been abl
* **showBg**: Purpose unknown.
* **errorCode**: When not 0, adds a field displaying the value as 'error code' to the warning message.




## Examples
```lua
-- Make the first line using custom text.
Expand All @@ -107,7 +104,6 @@ AddEventHandler("optionSelected", function(selected)
-- the event as well.
end)


-- Create a thread to loop this warning message.
CreateThread(function()
while true do
Expand Down
Binary file added HUD/SetWarningMessage/cNm7zZe.webp
Binary file not shown.
4 changes: 3 additions & 1 deletion HUD/SetWarningMessageWithAlert.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ Alt = {
}
```

**Result of the example code:** [https://i.imgur.com/TvmNF4k.png](https://i.imgur.com/TvmNF4k.png)
**Result of the example code:**

![](./SetWarningMessageWithAlert/rZ54JGW.webp)

## Parameters
* **labelTitle**: Label of the alert's title.
Expand Down
Binary file added HUD/SetWarningMessageWithAlert/rZ54JGW.webp
Binary file not shown.
6 changes: 3 additions & 3 deletions HUD/ShowCrewIndicatorOnBlip.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ aliases: ["0xDCFB5D4DB8BF367E", "SET_BLIP_CREW"]
void SHOW_CREW_INDICATOR_ON_BLIP(Blip blip, BOOL toggle);
```

Enables or disables the blue half circle ![](https://i.imgur.com/iZes9Ec.png) around the specified blip on the left side of the blip. This is used to indicate that the player is in your crew in GTA:O. Color is changeable by using [`SET_BLIP_SECONDARY_COLOUR`](#_0x14892474891E09EB).
Enables or disables the blue half circle ![](./ShowCrewIndicatorOnBlip/fbmrbaT.webp) around the specified blip on the left side of the blip. This is used to indicate that the player is in your crew in GTA:O. Color is changeable by using [`SET_BLIP_SECONDARY_COLOUR`](#_0x14892474891E09EB).

To toggle the right side of the circle use: [`SHOW_FRIEND_INDICATOR_ON_BLIP`](#_0x23C3EB807312F01A).

Example code result:
![](https://i.imgur.com/iZ9tNWl.png)
![](./ShowCrewIndicatorOnBlip/iZ9tNWl.webp)

## Parameters
* **blip**: The blip to toggle the half blue circle around the blip on.
Expand All @@ -31,5 +31,5 @@ ShowCrewIndicatorOnBlip(blip, true)
-- Set the crew circle color.
-- hud color 18 seems to be the closest color to the green crew color from GTA:O.
SetBlipSecondaryColour(blip, GetHudColour(18))
-- Result: https://i.imgur.com/iZ9tNWl.png
-- Result: ./ShowCrewIndicatorOnBlip/iZ9tNWl.webp
```
Binary file added HUD/ShowCrewIndicatorOnBlip/fbmrbaT.webp
Binary file not shown.
Binary file added HUD/ShowCrewIndicatorOnBlip/iZ9tNWl.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/ShowFriendIndicatorOnBlip.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ aliases: ["0x23C3EB807312F01A", "SET_BLIP_FRIEND"]
void SHOW_FRIEND_INDICATOR_ON_BLIP(Blip blip, BOOL toggle);
```

Highlights a blip by a half cyan circle on the right side of the blip. ![](https://i.imgur.com/FrV9M4e.png) Indicating that that player is a friend (in GTA:O). This color can not be changed.
Highlights a blip by a half cyan circle on the right side of the blip. ![](./ShowFriendIndicatorOnBlip/a51Y36V.webp) Indicating that that player is a friend (in GTA:O). This color can not be changed.

To toggle the left side (crew member indicator) of the half circle around the blip, use: [`SHOW_CREW_INDICATOR_ON_BLIP`](#_0xDCFB5D4DB8BF367E).

Expand Down
Binary file added HUD/ShowFriendIndicatorOnBlip/a51Y36V.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/StartGpsCustomRoute.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The GPS custom route works like the GPS multi route, except it does not follow r

**Example result:**

![](https://i.imgur.com/BDm5pzt.png)
![](./StartGpsCustomRoute/q5wPQyw.webp)

## Parameters
* **hudColor**: The HUD color of the GPS path.
Expand Down
Binary file added HUD/StartGpsCustomRoute/q5wPQyw.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion HUD/StartGpsMultiRoute.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Works independently from the player-placed waypoint and blip routes.

**Example result:**

![](https://i.imgur.com/ZZHQatX.png)
![](./StartGpsMultiRoute/E5CzggL.webp)

## Parameters
* **hudColor**: The HUD color of the GPS path.
Expand Down
Binary file added HUD/StartGpsMultiRoute/E5CzggL.webp
Binary file not shown.
6 changes: 2 additions & 4 deletions OBJECT/IsPointInAngledArea.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ An **angled area** is an X-Z oriented rectangle with three parameters:
3. **width**: the length of the base edge; (named derived from logging strings ``CNetworkRoadNodeWorldStateData``).

The oriented rectangle can then be derived from the direction of the two points (``norm(origin - extent)``), its orthonormal, and the width, e.g:
1. [golf_mp](https://i.imgur.com/JhsQAK9.png)
2. [am_taxi](https://i.imgur.com/TJWCZaT.jpg)
1. ![golf_mp](./IsPointInAngledArea/p14LFfr.webp)
2. ![am_taxi](./IsPointInAngledArea/sABN3jj.webp)

## Parameters
* **xPos**: The x coordinate.
Expand All @@ -30,5 +30,3 @@ The oriented rectangle can then be derived from the direction of the two points
* **width**: Width of the angled area
* **p10**: a debug flag invoking functions in the same path as ``DRAW_MARKER``
* **includez**: If true, include the Z dimension when doing the height check; otherwise the query becomes two-dimensional

## Return value
VIRUXE marked this conversation as resolved.
Show resolved Hide resolved
Binary file added OBJECT/IsPointInAngledArea/p14LFfr.webp
Binary file not shown.
Binary file added OBJECT/IsPointInAngledArea/sABN3jj.webp
Binary file not shown.
8 changes: 6 additions & 2 deletions PATHFIND/SetGpsDisabledZoneAtIndex.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ You can clear the disabled zone with CLEAR_GPS_DISABLED_ZONE_AT_INDEX.

**Setting a waypoint at the same coordinate:**

Disabled Zone: [https://i.imgur.com/P9VUuxM.png](https://i.imgur.com/P9VUuxM.png)
Disabled Zone:

Enabled Zone (normal): [https://i.imgur.com/BPi24aw.png](https://i.imgur.com/BPi24aw.png)
![](./SetGpsDisabledZoneAtIndex/Tpi3wkl.webp)

Enabled Zone (normal):

![](./SetGpsDisabledZoneAtIndex/6fHmOOA.webp)


## Parameters
Expand Down
Binary file added PATHFIND/SetGpsDisabledZoneAtIndex/6fHmOOA.webp
Binary file not shown.
Binary file added PATHFIND/SetGpsDisabledZoneAtIndex/Tpi3wkl.webp
Binary file not shown.
3 changes: 2 additions & 1 deletion PED/RegisterPedheadshotTransparent.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ int REGISTER_PEDHEADSHOT_TRANSPARENT(Ped ped);
Similar to REGISTER_PEDHEADSHOT but creates a transparent background instead of black.

**Result of the example code:**
[https://i.imgur.com/iHz8ztn.png](https://i.imgur.com/iHz8ztn.png)

![](./RegisterPedheadshotTransparent/vMj15QZ.webp)

## Parameters
* **ped**: A ped handle.
Expand Down
Binary file added PED/RegisterPedheadshotTransparent/vMj15QZ.webp
Binary file not shown.
15 changes: 12 additions & 3 deletions VEHICLE/SetVehicleEnveffScale.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,18 @@ void SET_VEHICLE_ENVEFF_SCALE(Vehicle vehicle, float fade);

Examples with a besra:

- [fade value `0.0`](https://i.imgur.com/DXNk63e.jpg)
- [fade value `0.5`](https://i.imgur.com/2Vb35fq.jpg)
- [fade value `1.0`](https://i.imgur.com/aa8cxaD.jpg)
- fade value `0.0`:

VIRUXE marked this conversation as resolved.
Show resolved Hide resolved
![](./SetVehicleEnveffScale/CiGTTOw.webp)
VIRUXE marked this conversation as resolved.
Show resolved Hide resolved

- fade value `0.5`:

![](./SetVehicleEnveffScale/omJKyzR.webp)
VIRUXE marked this conversation as resolved.
Show resolved Hide resolved

- fade value `1.0`:

![](./SetVehicleEnveffScale/fqAq73t.webp)
VIRUXE marked this conversation as resolved.
Show resolved Hide resolved


The parameter fade is a value from 0-1, where 0 is fresh paint.

Expand Down
Binary file added VEHICLE/SetVehicleEnveffScale/CiGTTOw.webp
Binary file not shown.
Binary file added VEHICLE/SetVehicleEnveffScale/fqAq73t.webp
Binary file not shown.
Binary file added VEHICLE/SetVehicleEnveffScale/omJKyzR.webp
Binary file not shown.
3 changes: 2 additions & 1 deletion VEHICLE/SetVehicleXenonLightsColor.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ You can find the list of colors and ids here: [_GET_VEHICLE_HEADLIGHTS_COLOUR](#
* **color**: The paint index.

**Result**:
> ![](https://i.imgur.com/yV3cpG9.png)

![](./SetVehicleXenonLightsColor/21tdrg0.webp)

## Examples

Expand Down
Binary file added VEHICLE/SetVehicleXenonLightsColor/21tdrg0.webp
Binary file not shown.
Loading