From cc1a5e927609425341bf3554633e78a2294e6ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Raty=C5=84ski?= Date: Fri, 23 Aug 2024 22:02:44 +0200 Subject: [PATCH] tweak: change image host provider --- CAM/SetCamSplineSmoothingStyle.md | 2 +- ENTITY/GetEntityRotation.md | 2 +- GRAPHICS/DrawSphere.md | 2 +- GRAPHICS/DrawSpotLight.md | 2 +- GRAPHICS/TerraingridActivate.md | 2 +- GRAPHICS/TerraingridSetColours.md | 2 +- GRAPHICS/TerraingridSetParams.md | 2 +- HUD/AddBlipForArea.md | 4 ---- HUD/AddBlipForEntity.md | 4 ++-- HUD/AddBlipForRadius.md | 2 +- HUD/AddTextComponentFloat.md | 2 +- HUD/DisplayPlayerNameTagsOnBlips.md | 2 +- HUD/EndTextCommandThefeedPostAward.md | 2 +- HUD/EndTextCommandThefeedPostMessagetext.md | 2 +- HUD/EndTextCommandThefeedPostMessagetextTu.md | 2 +- HUD/EndTextCommandThefeedPostReplayInput.md | 2 +- HUD/EndTextCommandThefeedPostStats.md | 2 +- HUD/EndTextCommandThefeedPostTicker.md | 2 +- HUD/PauseMenuSetWarnOnTabChange.md | 2 +- HUD/SetBlipCategory.md | 2 +- HUD/SetBlipScaleTransformation.md | 2 +- HUD/SetFloatingHelpTextStyle.md | 2 +- HUD/SetMinimapGolfCourse.md | 2 +- HUD/SetMultiplayerBankCash.md | 2 +- HUD/SetMultiplayerWalletCash.md | 2 +- HUD/SetPauseMenuPedLighting.md | 4 ++-- HUD/SetPauseMenuPedSleepState.md | 2 +- HUD/SetRadiusBlipEdge.md | 3 --- HUD/SetWarningMessage.md | 2 +- HUD/SetWarningMessageWithAlert.md | 2 +- HUD/ShowCrewIndicatorOnBlip.md | 6 +++--- HUD/ShowFriendIndicatorOnBlip.md | 2 +- HUD/ShowHasCompletedIndicatorOnBlip.md | 2 +- HUD/StartGpsCustomRoute.md | 2 +- HUD/StartGpsMultiRoute.md | 2 +- MISC/AddStuntJumpAngled.md | 5 ----- NETWORK/NetworkIsInParty.md | 4 ++-- NETWORK/NetworkIsPartyMember.md | 4 ++-- OBJECT/IsPointInAngledArea.md | 4 ++-- PATHFIND/SetGpsDisabledZoneAtIndex.md | 4 ++-- PED/RegisterPedheadshotTransparent.md | 2 +- PED/SetPedEmissiveIntensity.md | 8 ++++---- TASK/AddPatrolRouteLink.md | 2 +- VEHICLE/SetBikeOnStand.md | 2 +- VEHICLE/SetVehicleDropsMoneyWhenBlownUp.md | 2 +- VEHICLE/SetVehicleEnveffScale.md | 6 +++--- VEHICLE/SetVehicleXenonLightsColor.md | 2 +- 47 files changed, 57 insertions(+), 69 deletions(-) diff --git a/CAM/SetCamSplineSmoothingStyle.md b/CAM/SetCamSplineSmoothingStyle.md index a18ca4e60..fa37b4c14 100644 --- a/CAM/SetCamSplineSmoothingStyle.md +++ b/CAM/SetCamSplineSmoothingStyle.md @@ -49,7 +49,7 @@ Using 1-3 will result in misalignment from the passed durations for the spline n Graph below demonstrates interpolation between 0-1000 and back 10 times. -![](https://i.imgur.com/cixWh7m.png) +![](https://docs.fivem.net/natives/0xD1B0F412F109EA5D.png) ## Parameters * **cam**: The DEFAULT_SPLINE_CAMERA to apply the smoothing to diff --git a/ENTITY/GetEntityRotation.md b/ENTITY/GetEntityRotation.md index 391852a02..f1fc9e18c 100644 --- a/ENTITY/GetEntityRotation.md +++ b/ENTITY/GetEntityRotation.md @@ -14,7 +14,7 @@ rotationOrder refers to the order yaw pitch roll is applied; value ranges from 0 What you use for rotationOrder when getting must be the same as rotationOrder when setting the rotation. What it returns is the yaw on the z part of the vector, which makes sense considering R* considers z as vertical. Here's a picture for those of you who don't understand pitch, yaw, and roll: -www.allstar.fiu.edu/aero/images/pic5-1.gif +https://docs.fivem.net/natives/0xAFBD61CC738D9EB9.gif ``` ### Rotation Orders diff --git a/GRAPHICS/DrawSphere.md b/GRAPHICS/DrawSphere.md index 82989a2b5..1a0213491 100644 --- a/GRAPHICS/DrawSphere.md +++ b/GRAPHICS/DrawSphere.md @@ -11,7 +11,7 @@ void _DRAW_SPHERE(float x, float y, float z, float radius, int r, int g, int b, Draws a 3D sphere, typically seen in the GTA:O freemode event "Penned In". -Example [image](https://imgur.com/nCbtS4H): +Example [image](https://docs.fivem.net/natives/0x799017F9E3B10112.png): ```lua DrawSphere(35.45, 172.66, 126.22, 1.0, 0, 0, 255, 0.2) ``` diff --git a/GRAPHICS/DrawSpotLight.md b/GRAPHICS/DrawSpotLight.md index fec44c425..eef93521c 100644 --- a/GRAPHICS/DrawSpotLight.md +++ b/GRAPHICS/DrawSpotLight.md @@ -17,7 +17,7 @@ Parameters: * brightness - the brightness of the light * roundness - "smoothness" of the circle edge * radius - the radius size of the spotlight -* falloff - the falloff size of the light's edge (example: www.i.imgur.com/DemAWeO.jpg) +* falloff - the falloff size of the light's edge (example: https://docs.fivem.net/natives/0xD0F64B265C8C8B33.png) Example in C# (spotlight aims at the closest vehicle): Vector3 myPos = Game.Player.Character.Position; Vehicle nearest = World.GetClosestVehicle(myPos , 1000f); diff --git a/GRAPHICS/TerraingridActivate.md b/GRAPHICS/TerraingridActivate.md index 9bc10b79f..fa2234ebe 100644 --- a/GRAPHICS/TerraingridActivate.md +++ b/GRAPHICS/TerraingridActivate.md @@ -9,7 +9,7 @@ aliases: ["0xA356990E161C9E65"] void TERRAINGRID_ACTIVATE(BOOL toggle); ``` -This native enables/disables the gold putting grid display (https://i.imgur.com/TC6cku6.png). +This native enables/disables the gold putting grid display (https://docs.fivem.net/natives/0x1C4FC5752BCD8E48.png). This requires these two natives to be called as well to configure the grid: [`TERRAINGRID_SET_PARAMS`](#_0x1C4FC5752BCD8E48) and [`TERRAINGRID_SET_COLOURS`](#_0x5CE62918F8D703C7). diff --git a/GRAPHICS/TerraingridSetColours.md b/GRAPHICS/TerraingridSetColours.md index 7ef97e48b..90a045592 100644 --- a/GRAPHICS/TerraingridSetColours.md +++ b/GRAPHICS/TerraingridSetColours.md @@ -12,7 +12,7 @@ void TERRAINGRID_SET_COLOURS(int lowR, int lowG, int lowB, int lowAlpha, int R, This native is used along with these two natives: [`TERRAINGRID_ACTIVATE`](#_0xA356990E161C9E65) and [`TERRAINGRID_SET_PARAMS`](#_0x1C4FC5752BCD8E48). This native sets the colors for the golf putting grid. the 'min...' values are for the lower areas that the grid covers, the 'max...' values are for the higher areas that the grid covers, all remaining values are for the 'normal' ground height. -All those natives combined they will output something like this: https://i.imgur.com/TC6cku6.png +All those natives combined they will output something like this: https://docs.fivem.net/natives/0x1C4FC5752BCD8E48.png Old description: Only called in golf and golf_mp diff --git a/GRAPHICS/TerraingridSetParams.md b/GRAPHICS/TerraingridSetParams.md index a488d547e..16e96c7fb 100644 --- a/GRAPHICS/TerraingridSetParams.md +++ b/GRAPHICS/TerraingridSetParams.md @@ -13,7 +13,7 @@ This native is used along with these two natives: [`TERRAINGRID_ACTIVATE`](#_0xA This native configures the location, size, rotation, normal height, and the difference ratio between min, normal and max. -All those natives combined they will output something like this: https://i.imgur.com/TC6cku6.png +All those natives combined they will output something like this: https://docs.fivem.net/natives/0x1C4FC5752BCD8E48.png ## Parameters * **x**: Grid center x coord. diff --git a/HUD/AddBlipForArea.md b/HUD/AddBlipForArea.md index 7a6f6a752..3118b16ce 100644 --- a/HUD/AddBlipForArea.md +++ b/HUD/AddBlipForArea.md @@ -15,10 +15,6 @@ It is recommended to use [SET_BLIP_ROTATION](#_0xF87683CDF73C3F6E) and [SET_BLIP By default, the blip will show as a _regular_ blip with the specified color/sprite if it is outside of the minimap view. -Example image: -![minimap](https://i.imgur.com/qLbXWcQ.png) -![big map](https://i.imgur.com/0j7O7Rh.png) - (Native name is _likely_ to actually be ADD_BLIP_FOR_AREA, but due to the usual reasons this can't be confirmed) ## Parameters diff --git a/HUD/AddBlipForEntity.md b/HUD/AddBlipForEntity.md index 12b00599a..8d9822e37 100644 --- a/HUD/AddBlipForEntity.md +++ b/HUD/AddBlipForEntity.md @@ -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](https://docs.fivem.net/natives/0x5CDE92C702A8FCE7_1.png) Example of friend: -![friend](https://i.imgur.com/Q16ho5d.png) +![friend](https://docs.fivem.net/natives/0x5CDE92C702A8FCE7_2.png) ## Parameters * **entity**: The entity handle to create the blip. diff --git a/HUD/AddBlipForRadius.md b/HUD/AddBlipForRadius.md index 1150408a5..898ee7a38 100644 --- a/HUD/AddBlipForRadius.md +++ b/HUD/AddBlipForRadius.md @@ -10,7 +10,7 @@ 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](https://docs.fivem.net/natives/0x46818D79B1F7499A.png) ## Parameters * **posX**: The x position of the blip (you can also send a vector3 instead of the bulk coordinates) diff --git a/HUD/AddTextComponentFloat.md b/HUD/AddTextComponentFloat.md index d63abc2da..7255d48ef 100644 --- a/HUD/AddTextComponentFloat.md +++ b/HUD/AddTextComponentFloat.md @@ -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](https://docs.fivem.net/natives/0xE7DCB5B874BCD96E.png) ## Parameters * **value**: The number to substitute in the label. diff --git a/HUD/DisplayPlayerNameTagsOnBlips.md b/HUD/DisplayPlayerNameTagsOnBlips.md index b45aadaf5..2d5f24110 100644 --- a/HUD/DisplayPlayerNameTagsOnBlips.md +++ b/HUD/DisplayPlayerNameTagsOnBlips.md @@ -11,7 +11,7 @@ void DISPLAY_PLAYER_NAME_TAGS_ON_BLIPS(BOOL toggle); Toggles whether or not name labels are shown on the expanded minimap next to player blips, like in GTA:O. Doesn't need to be called every frame. -Preview: https://i.imgur.com/DfqKWfJ.png +Preview: https://docs.fivem.net/natives/0x82CEDC33687E1F50.png Make sure to call SET_BLIP_CATEGORY with index 7 for this to work on the desired blip. ## Parameters diff --git a/HUD/EndTextCommandThefeedPostAward.md b/HUD/EndTextCommandThefeedPostAward.md index 582f431de..084ed0fe1 100644 --- a/HUD/EndTextCommandThefeedPostAward.md +++ b/HUD/EndTextCommandThefeedPostAward.md @@ -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) +![](https://docs.fivem.net/natives/0xAA295B6F28BD587D.png) diff --git a/HUD/EndTextCommandThefeedPostMessagetext.md b/HUD/EndTextCommandThefeedPostMessagetext.md index 3756a3792..4a2da3572 100644 --- a/HUD/EndTextCommandThefeedPostMessagetext.md +++ b/HUD/EndTextCommandThefeedPostMessagetext.md @@ -15,7 +15,7 @@ Texture dictionary and texture name parameters are usually the same exact value. Example result: -![](https://i.imgur.com/LviutDl.png) +![](https://docs.fivem.net/natives/0x1CCD9A37359072CF.png) Old description with list of possible icons and texture names: diff --git a/HUD/EndTextCommandThefeedPostMessagetextTu.md b/HUD/EndTextCommandThefeedPostMessagetextTu.md index 2972dba31..5532cfc6b 100644 --- a/HUD/EndTextCommandThefeedPostMessagetextTu.md +++ b/HUD/EndTextCommandThefeedPostMessagetextTu.md @@ -16,7 +16,7 @@ v_8 = UI::END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU("CHAR_SOCIAL_CLUB", "CHAR ``` Example result: -![](https://i.imgur.com/YrN4Bcm.png) +![](https://docs.fivem.net/natives/0x1E6611149DB3DB6B.png) ## Parameters diff --git a/HUD/EndTextCommandThefeedPostReplayInput.md b/HUD/EndTextCommandThefeedPostReplayInput.md index 2b1978113..e7e635c45 100644 --- a/HUD/EndTextCommandThefeedPostReplayInput.md +++ b/HUD/EndTextCommandThefeedPostReplayInput.md @@ -15,7 +15,7 @@ type range: 0 - 2 if you set type to 1, button accepts "~INPUT_SOMETHING~" example: HUD::_0xDD6CB2CCE7C2735C(1, "~INPUT_TALK~", "Who you trynna get crazy with, ese? Don't you know I'm LOCO?!"); -- imgur.com/UPy0Ial +- https://docs.fivem.net/natives/0xDD6CB2CCE7C2735C.jpg Examples from the scripts: l_D1[1/*1*/]=HUD::_DD6CB2CCE7C2735C(1,"~INPUT_REPLAY_START_STOP_RECORDING~",""); l_D1[2/*1*/]=HUD::_DD6CB2CCE7C2735C(1,"~INPUT_SAVE_REPLAY_CLIP~",""); diff --git a/HUD/EndTextCommandThefeedPostStats.md b/HUD/EndTextCommandThefeedPostStats.md index 7986b1316..720b4095a 100644 --- a/HUD/EndTextCommandThefeedPostStats.md +++ b/HUD/EndTextCommandThefeedPostStats.md @@ -15,7 +15,7 @@ int END_TEXT_COMMAND_THEFEED_POST_STATS(char* statTitle, int iconEnum, BOOL step Example result: -![](https://i.imgur.com/SdEZ22m.png) +![](https://docs.fivem.net/natives/0x2B7E9A4EAAA93C89.png) ## Parameters diff --git a/HUD/EndTextCommandThefeedPostTicker.md b/HUD/EndTextCommandThefeedPostTicker.md index c1ba4cd91..c4890f13e 100644 --- a/HUD/EndTextCommandThefeedPostTicker.md +++ b/HUD/EndTextCommandThefeedPostTicker.md @@ -12,7 +12,7 @@ int END_TEXT_COMMAND_THEFEED_POST_TICKER(BOOL isImportant, BOOL bHasTokens); Example output preview: -![](https://i.imgur.com/TJvqkYq.png) +![](https://docs.fivem.net/natives/0x2ED7843F8F801023.png) ## Examples diff --git a/HUD/PauseMenuSetWarnOnTabChange.md b/HUD/PauseMenuSetWarnOnTabChange.md index 1a05ca1e3..4d3c7ac62 100644 --- a/HUD/PauseMenuSetWarnOnTabChange.md +++ b/HUD/PauseMenuSetWarnOnTabChange.md @@ -9,7 +9,7 @@ aliases: ["0xF06EBB91A81E09E3"] void PAUSE_MENU_SET_WARN_ON_TAB_CHANGE(BOOL setWarn); ``` -Shows this warning message when trying to switch pause menu header tabs: https://i.imgur.com/8qmfztu.png +Shows this warning message when trying to switch pause menu header tabs: https://docs.fivem.net/natives/0xF06EBB91A81E09E3.png ## Parameters * **setWarn**: Wether to show the message or not. diff --git a/HUD/SetBlipCategory.md b/HUD/SetBlipCategory.md index d9a975f34..217479c3e 100644 --- a/HUD/SetBlipCategory.md +++ b/HUD/SetBlipCategory.md @@ -10,7 +10,7 @@ void SET_BLIP_CATEGORY(Blip blip, int index); Examples result: -![](https://i.imgur.com/skY6vAJ.png) +![](https://docs.fivem.net/natives/0x234CDD44D996FD9A.png) **index:** diff --git a/HUD/SetBlipScaleTransformation.md b/HUD/SetBlipScaleTransformation.md index 94823fa29..894d2f57c 100644 --- a/HUD/SetBlipScaleTransformation.md +++ b/HUD/SetBlipScaleTransformation.md @@ -8,7 +8,7 @@ ns: HUD void _SET_BLIP_SCALE_TRANSFORMATION(Blip blip, float xScale, float yScale); ``` -See https://imgur.com/a/lLkEsMN +See https://docs.fivem.net/natives/0xCD6524439909C979.png ``` NativeDB Introduced: v1734 diff --git a/HUD/SetFloatingHelpTextStyle.md b/HUD/SetFloatingHelpTextStyle.md index d1d0a4523..fa3e55cad 100644 --- a/HUD/SetFloatingHelpTextStyle.md +++ b/HUD/SetFloatingHelpTextStyle.md @@ -22,7 +22,7 @@ Any numeric value greater than 4 will result in a right arrow (Index 4) ### Important Needs to be called every frame -![Preview of the provided example code](https://forum.cfx.re/uploads/default/original/4X/7/f/3/7f319bc93c3a00b8829bd4ac8dddc235fbf3a9ef.png) +![Preview of the provided example code](https://docs.fivem.net/natives/0x788E7FD431BD67F1.png) ## Parameters * **hudIndex**: The hud index for the floating help message diff --git a/HUD/SetMinimapGolfCourse.md b/HUD/SetMinimapGolfCourse.md index b5dd14218..474b3ad23 100644 --- a/HUD/SetMinimapGolfCourse.md +++ b/HUD/SetMinimapGolfCourse.md @@ -37,6 +37,6 @@ SetRadarBigmapEnabled(false, false); int blip = AddBlipForCoord(-1321.98f, 158.93f, 57.8f); SetBlipSprite(blip, 358); -// result of this code example: https://i.imgur.com/DUnUzKS.png +// result of this code example: https://docs.fivem.net/natives/0x71BDB63DBAF8DA59.png ``` diff --git a/HUD/SetMultiplayerBankCash.md b/HUD/SetMultiplayerBankCash.md index 832ce97b6..449ceadb4 100644 --- a/HUD/SetMultiplayerBankCash.md +++ b/HUD/SetMultiplayerBankCash.md @@ -10,7 +10,7 @@ void SET_MULTIPLAYER_BANK_CASH(); Preview image: -![](https://i.imgur.com/1BTmdyv.png) +![](https://docs.fivem.net/natives/0xDD21B55DF695CD0A.png) To change the bank balance use [`STAT_SET_INT`](#_0xB3271D7AB655B441) with "BANK_BALANCE" to whatever value you need to. diff --git a/HUD/SetMultiplayerWalletCash.md b/HUD/SetMultiplayerWalletCash.md index 93206cf86..438f54be5 100644 --- a/HUD/SetMultiplayerWalletCash.md +++ b/HUD/SetMultiplayerWalletCash.md @@ -11,7 +11,7 @@ void SET_MULTIPLAYER_WALLET_CASH(); Preview image: -![](https://i.imgur.com/1BTmdyv.png) +![](https://docs.fivem.net/natives/0xDD21B55DF695CD0A.png) To change money value use [`STAT_SET_INT`](#_0xB3271D7AB655B441) with "MP0_WALLET_BALANCE" to whatever value you need to. diff --git a/HUD/SetPauseMenuPedLighting.md b/HUD/SetPauseMenuPedLighting.md index f313c122e..d3aa55a0e 100644 --- a/HUD/SetPauseMenuPedLighting.md +++ b/HUD/SetPauseMenuPedLighting.md @@ -14,8 +14,8 @@ Toggles the light state for the pause menu ped in frontend menus. This is used by R* in combination with [`SET_PAUSE_MENU_PED_SLEEP_STATE`](#_0xECF128344E9FF9F1) to toggle the "offline" or "online" state in the "friends" tab of the pause menu in GTA Online. Example: -On: ![lights on](https://vespura.com/hi/i/2019-04-01_16-09_540ee_1015.png) -Off: ![lights off](https://vespura.com/hi/i/2019-04-01_16-10_8b5e7_1016.png) +On: ![lights on](https://docs.fivem.net/natives/0x3CA6050692BC61B0_1.png) +Off: ![lights off](https://docs.fivem.net/natives/0x3CA6050692BC61B0_2.png) ## Parameters * **state**: True enables the light, false disables the light. diff --git a/HUD/SetPauseMenuPedSleepState.md b/HUD/SetPauseMenuPedSleepState.md index 7080545ca..01a03cafd 100644 --- a/HUD/SetPauseMenuPedSleepState.md +++ b/HUD/SetPauseMenuPedSleepState.md @@ -11,7 +11,7 @@ void SET_PAUSE_MENU_PED_SLEEP_STATE(BOOL state); Toggles the pause menu ped sleep state for frontend menus. -[Example GIF](https://vespura.com/hi/i/2019-04-01_15-51_8ed38_1014.gif) +[Example GIF](https://docs.fivem.net/natives/0xECF128344E9FF9F1.gif) ## Parameters * **state**: 0 will make the ped slowly fall asleep, 1 will slowly wake the ped up. diff --git a/HUD/SetRadiusBlipEdge.md b/HUD/SetRadiusBlipEdge.md index ccd0f3ec6..e07382c38 100644 --- a/HUD/SetRadiusBlipEdge.md +++ b/HUD/SetRadiusBlipEdge.md @@ -12,9 +12,6 @@ void SET_RADIUS_BLIP_EDGE(Blip blip, BOOL toggle); Enabling this on a radius blip will make it outline only. Please note that this only works on a **radius** blip (i.e. one generated using [`ADD_BLIP_FOR_RADIUS`](#_0x46818D79B1F7499A)), not a normal blip. -**Example result:** -![example-image](https://i.imgur.com/hS6ki7p.png) - ## Parameters * **blip**: The blip handle * **toggle**: Whether to turn off or on the effect diff --git a/HUD/SetWarningMessage.md b/HUD/SetWarningMessage.md index 4092c0068..4ff9db4b7 100644 --- a/HUD/SetWarningMessage.md +++ b/HUD/SetWarningMessage.md @@ -74,7 +74,7 @@ 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) +[https://docs.fivem.net/natives/0x7B1776B3B53F8D74.png](https://docs.fivem.net/natives/0x7B1776B3B53F8D74.png) ## Parameters diff --git a/HUD/SetWarningMessageWithAlert.md b/HUD/SetWarningMessageWithAlert.md index 5e7a37e29..7de9090d6 100644 --- a/HUD/SetWarningMessageWithAlert.md +++ b/HUD/SetWarningMessageWithAlert.md @@ -55,7 +55,7 @@ Alt = { } ``` -**Result of the example code:** [https://i.imgur.com/TvmNF4k.png](https://i.imgur.com/TvmNF4k.png) +**Result of the example code:** [https://docs.fivem.net/natives/0x15803FEC3B9A872B.png](https://docs.fivem.net/natives/0x15803FEC3B9A872B.png) ## Parameters * **labelTitle**: Label of the alert's title. diff --git a/HUD/ShowCrewIndicatorOnBlip.md b/HUD/ShowCrewIndicatorOnBlip.md index 30b13ad5d..d33564fc7 100644 --- a/HUD/ShowCrewIndicatorOnBlip.md +++ b/HUD/ShowCrewIndicatorOnBlip.md @@ -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 ![](https://docs.fivem.net/natives/0xDCFB5D4DB8BF367E_1.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). To toggle the right side of the circle use: [`SHOW_FRIEND_INDICATOR_ON_BLIP`](#_0x23C3EB807312F01A). Example code result: -![](https://i.imgur.com/iZ9tNWl.png) +![](https://docs.fivem.net/natives/0xDCFB5D4DB8BF367E_2.png) ## Parameters * **blip**: The blip to toggle the half blue circle around the blip on. @@ -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: https://docs.fivem.net/natives/0xDCFB5D4DB8BF367E_2.png ``` diff --git a/HUD/ShowFriendIndicatorOnBlip.md b/HUD/ShowFriendIndicatorOnBlip.md index 918cb1079..1ed963af0 100644 --- a/HUD/ShowFriendIndicatorOnBlip.md +++ b/HUD/ShowFriendIndicatorOnBlip.md @@ -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. ![](https://docs.fivem.net/natives/0x23C3EB807312F01A.png) 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). diff --git a/HUD/ShowHasCompletedIndicatorOnBlip.md b/HUD/ShowHasCompletedIndicatorOnBlip.md index 7d4d06108..4dbfe2de5 100644 --- a/HUD/ShowHasCompletedIndicatorOnBlip.md +++ b/HUD/ShowHasCompletedIndicatorOnBlip.md @@ -10,7 +10,7 @@ void _SHOW_HAS_COMPLETED_INDICATOR_ON_BLIP(Blip blip, BOOL toggle); ``` ``` -Adds a orange checkmark on top of a given blip handle: https://imgur.com/a/aw5OTMF +Adds a orange checkmark on top of a given blip handle: https://docs.fivem.net/natives/0xCAC2031EBF79B1A8.png _SHOW_FRIEND_INDICATOR_ON_BLIP* - _SHOW_HEADING_INDICATOR_ON_BLIP* ``` diff --git a/HUD/StartGpsCustomRoute.md b/HUD/StartGpsCustomRoute.md index 5712972ed..d286f1f74 100644 --- a/HUD/StartGpsCustomRoute.md +++ b/HUD/StartGpsCustomRoute.md @@ -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) +![](https://docs.fivem.net/natives/0xDB34E8D56FC13B08.png) ## Parameters * **hudColor**: The HUD color of the GPS path. diff --git a/HUD/StartGpsMultiRoute.md b/HUD/StartGpsMultiRoute.md index 8e1908741..c24e1ba70 100644 --- a/HUD/StartGpsMultiRoute.md +++ b/HUD/StartGpsMultiRoute.md @@ -17,7 +17,7 @@ Works independently from the player-placed waypoint and blip routes. **Example result:** -![](https://i.imgur.com/ZZHQatX.png) +![](https://docs.fivem.net/natives/0x3D3D15AF7BCAAF83.png) ## Parameters * **hudColor**: The HUD color of the GPS path. diff --git a/MISC/AddStuntJumpAngled.md b/MISC/AddStuntJumpAngled.md index 6739dd826..dd5301adf 100644 --- a/MISC/AddStuntJumpAngled.md +++ b/MISC/AddStuntJumpAngled.md @@ -34,11 +34,6 @@ The final coordinate in this native is the Camera position. Rotation and zoom/FO Not sure what these are for, but they're always `150, 0, 0` in decompiled scripts. - -Visualized example in-game: - -![](https://d.fivem.dev/2019-03-15_18-24_c7802_846.png) - Here is a list of almost all of the stunt jumps from GTA V (taken from decompiled scripts): https://pastebin.com/EW1jBPkY diff --git a/NETWORK/NetworkIsInParty.md b/NETWORK/NetworkIsInParty.md index 4721fc56f..505acd3a6 100644 --- a/NETWORK/NetworkIsInParty.md +++ b/NETWORK/NetworkIsInParty.md @@ -13,8 +13,8 @@ Note according to IDA TU27 X360(Console), This native & 'NETWORK_IS_PARTY_MEMBER' both jump to the same location. Side note: This location just stops where it's at once jumped to. Screenshot for side note, -h t t p ://i.imgur.com/m2ci1mF.png -h t t p://i.imgur.com/Z0Wx2B6.png +https://docs.fivem.net/natives/0x966C2BC2A7FE3F30_1.png +https://docs.fivem.net/natives/0x966C2BC2A7FE3F30_2.png ``` ## Return value diff --git a/NETWORK/NetworkIsPartyMember.md b/NETWORK/NetworkIsPartyMember.md index 34de479dc..e604f59cf 100644 --- a/NETWORK/NetworkIsPartyMember.md +++ b/NETWORK/NetworkIsPartyMember.md @@ -13,8 +13,8 @@ Note according to IDA TU27 X360(Console), This native & 'NETWORK_IS_PARTY_MEMBER' both jump to the same location. Side note: This location just stops where it's at once jumped to. Screenshot for side note, -h t t p ://i.imgur.com/m2ci1mF.png -h t t p://i.imgur.com/Z0Wx2B6.png +https://docs.fivem.net/natives/0x966C2BC2A7FE3F30_1.png +https://docs.fivem.net/natives/0x966C2BC2A7FE3F30_2.png ``` ## Parameters diff --git a/OBJECT/IsPointInAngledArea.md b/OBJECT/IsPointInAngledArea.md index ad7a843d1..f470e362b 100644 --- a/OBJECT/IsPointInAngledArea.md +++ b/OBJECT/IsPointInAngledArea.md @@ -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](https://docs.fivem.net/natives/0x2A70BAE8883E4C81_1.png) +2. [am_taxi](https://docs.fivem.net/natives/0x2A70BAE8883E4C81_2.jpg) ## Parameters * **xPos**: The x coordinate. diff --git a/PATHFIND/SetGpsDisabledZoneAtIndex.md b/PATHFIND/SetGpsDisabledZoneAtIndex.md index 5f3ecb069..272cac83c 100644 --- a/PATHFIND/SetGpsDisabledZoneAtIndex.md +++ b/PATHFIND/SetGpsDisabledZoneAtIndex.md @@ -15,9 +15,9 @@ 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: [https://docs.fivem.net/natives/0xD0BC1C6FB18EE154_1.png](https://docs.fivem.net/natives/0xD0BC1C6FB18EE154_1.png) -Enabled Zone (normal): [https://i.imgur.com/BPi24aw.png](https://i.imgur.com/BPi24aw.png) +Enabled Zone (normal): [https://docs.fivem.net/natives/0xD0BC1C6FB18EE154_2.png](https://docs.fivem.net/natives/0xD0BC1C6FB18EE154_2.png) ## Parameters diff --git a/PED/RegisterPedheadshotTransparent.md b/PED/RegisterPedheadshotTransparent.md index 52624c9b4..1c1e85f4c 100644 --- a/PED/RegisterPedheadshotTransparent.md +++ b/PED/RegisterPedheadshotTransparent.md @@ -12,7 +12,7 @@ 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) +[https://docs.fivem.net/natives/0x953563CE563143AF.png](https://docs.fivem.net/natives/0x953563CE563143AF.png) ## Parameters * **ped**: A ped handle. diff --git a/PED/SetPedEmissiveIntensity.md b/PED/SetPedEmissiveIntensity.md index 781970e40..b2ed4dd7d 100644 --- a/PED/SetPedEmissiveIntensity.md +++ b/PED/SetPedEmissiveIntensity.md @@ -23,15 +23,15 @@ Since there's no joaat hash for this, I find `_SET_PED_ILLUMINATED_CLOTHING_GLOW Use [`GetPedIlluminatedClothingGlowIntensity`](#_0x1461B28A06717D68) to get the illuminated clothing glow intensity of a specific ped. Intensity: `1.0`: -![](https://www.vespura.com/hi/i/2018-11-13_17-03_c2e23_229.png) +![](https://docs.fivem.net/natives/0x4E90D746056E273D_1.png) Intensity: `0.0`: -![](https://www.vespura.com/hi/i/2018-11-13_17-03_35c33_230.png) +![](https://docs.fivem.net/natives/0x4E90D746056E273D_2.png) **Examples code result**: -![](https://www.vespura.com/hi/i/2018-11-13_17-11_10199_232.gif) +![](https://docs.fivem.net/natives/0x4E90D746056E273D_3.gif) -(Direct link if embed doesn't work: [here](https://www.vespura.com/hi/i/2018-11-13_17-11_10199_232.gif)) +(Direct link if embed doesn't work: [here](https://docs.fivem.net/natives/0x4E90D746056E273D_3.gif)) ## Parameters diff --git a/TASK/AddPatrolRouteLink.md b/TASK/AddPatrolRouteLink.md index d4aa44f1c..a63638c1e 100644 --- a/TASK/AddPatrolRouteLink.md +++ b/TASK/AddPatrolRouteLink.md @@ -10,7 +10,7 @@ void ADD_PATROL_ROUTE_LINK(int id1, int id2); connects/links 2 [route nodes](#_0x8EDF950167586B7C) image representing the cyclic example below: -![image](https://user-images.githubusercontent.com/55803068/188470866-c32c6a9f-a25d-4772-9b18-5be46e2c14a1.png) +![image](https://docs.fivem.net/natives/0x23083260DEC3A551.png) ## Parameters * **id1**: the id representing the first route node diff --git a/VEHICLE/SetBikeOnStand.md b/VEHICLE/SetBikeOnStand.md index 190f6b500..b1241f14d 100644 --- a/VEHICLE/SetBikeOnStand.md +++ b/VEHICLE/SetBikeOnStand.md @@ -14,7 +14,7 @@ Only works on bikes, both X and Y work in the -1 - 1 range. X forces the bike to turn left or right (-1, 1) Y forces the bike to lean to the left or to the right (-1, 1) Example with X -1/Y 1 -http://i.imgur.com/TgIuAPJ.jpg +https://docs.fivem.net/natives/0x9CFA4896C3A53CBB.jpg ``` ## Parameters diff --git a/VEHICLE/SetVehicleDropsMoneyWhenBlownUp.md b/VEHICLE/SetVehicleDropsMoneyWhenBlownUp.md index 73b2e4847..0b07dadd6 100644 --- a/VEHICLE/SetVehicleDropsMoneyWhenBlownUp.md +++ b/VEHICLE/SetVehicleDropsMoneyWhenBlownUp.md @@ -12,7 +12,7 @@ void SET_VEHICLE_DROPS_MONEY_WHEN_BLOWN_UP(Vehicle vehicle, BOOL toggle); ``` Money pickups are created around cars when they explode. Only works when the vehicle model is a car. A single pickup is between 1 and 18 dollars in size. All car models seem to give the same amount of money. youtu.be/3arlUxzHl5Y -i.imgur.com/WrNpYFs.jpg +https://docs.fivem.net/natives/0x068F64F2470F9656.jpg ``` ## Parameters diff --git a/VEHICLE/SetVehicleEnveffScale.md b/VEHICLE/SetVehicleEnveffScale.md index ae6c4dfc0..c54247bff 100644 --- a/VEHICLE/SetVehicleEnveffScale.md +++ b/VEHICLE/SetVehicleEnveffScale.md @@ -11,9 +11,9 @@ 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`](https://docs.fivem.net/natives/0x3AFDC536C3D01674_1.jpg) +- [fade value `0.5`](https://docs.fivem.net/natives/0x3AFDC536C3D01674_2.jpg) +- [fade value `1.0`](https://docs.fivem.net/natives/0x3AFDC536C3D01674_3.jpg) The parameter fade is a value from 0-1, where 0 is fresh paint. diff --git a/VEHICLE/SetVehicleXenonLightsColor.md b/VEHICLE/SetVehicleXenonLightsColor.md index 5daebf3b9..c9683fcc8 100644 --- a/VEHICLE/SetVehicleXenonLightsColor.md +++ b/VEHICLE/SetVehicleXenonLightsColor.md @@ -18,7 +18,7 @@ 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) +> ![](https://docs.fivem.net/natives/0xE41033B25D003A07.png) ## Examples