User contributions for ChrisGame20

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

21 December 2025

  • 12:3612:36, 21 December 2025 diff hist +935 N natives.drawFrontendHelperTextCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawFrontendHelperText |parameters = string label, string control, bool show |parameter1 = string label Text label to display (can be a literal or a localized key) |parameter2 = string control Control name to show (e.g. "INPUT_F_ENTER") |parameter3 = bool show Whether to show (true) or hide (false) the helper text |usage = Displays a helper text prompt in the frontend HUD with a control hint |no..." current
  • 12:3112:31, 21 December 2025 diff hist +1,055 N natives.drawColouredCylinderCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawColouredCylinder |parameters = Vec3 position, float radius, float height, int r, int g, int b, int a |parameter1 = Vec3 position Coordinates of the cylinder base (x, y, z) |parameter2 = float radius Radius of the cylinder |parameter3 = float height Height of the cylinder |parameter4 = int r Red component (0–255) |parameter5 = int g Green component (0–255) |parameter6 = int b Blue compone..." current
  • 12:2912:29, 21 December 2025 diff hist +1,006 N natives.drawCheckpointWithAlphaCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawCheckpointWithAlpha |parameters = Vec3 position, float radius, int r, int g, int b, int a |parameter1 = Vec3 position Coordinates of the checkpoint (x, y, z) |parameter2 = float radius Radius of the checkpoint circle |parameter3 = int r Red component (0–255) |parameter4 = int g Green component (0–255) |parameter5 = int b Blue component (0–255) |parameter6 = int a Alpha component (0–2..." current
  • 12:2712:27, 21 December 2025 diff hist +25 natives.drawCheckpointNo edit summary current

18 December 2025

  • 20:3820:38, 18 December 2025 diff hist +546 N natives.setVehInteriorlightCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setVehInteriorlight |parameters = object vehicle, bool toggle |parameter1 = object vehicle The vehicle |parameter2 = bool toggle True to enable the interior light, false to disable |usage = turn the interior light on/off for a vehicle |notes = This controls the interior light of the specified vehicle. |return1 = void |exampleJS = addCommandHandler("interiorlight", function(command, params, clien..." current

17 December 2025

  • 04:0504:05, 17 December 2025 diff hist +1,425 N natives.taskPlayAnimNonInterruptableCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.taskPlayAnimNonInterruptable |parameters = object ped, string animName, string animGroup, float speed, int flag1, int flag2, int flag3, int flag4, int unknown |parameter1 = object ped The handle of the ped |parameter2 = string animName The animation's name (e.g. "crim_searched") |parameter3 = string animGroup The animation set/group name (e.g. "cop") |parameter4 = float speed Playback speed mult..." current

14 December 2025

7 December 2025

  • 22:4122:41, 7 December 2025 diff hist +912 N natives.createCheckpointCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawCheckpoint |parameters = float x, float y, float z, float radius, int r, int g, int b, int a |parameter1 = float x X coordinate of the checkpoint |parameter2 = float y Y coordinate of the checkpoint |parameter3 = float z Z coordinate of the checkpoint |parameter4 = float radius Radius of the checkpoint circle |parameter5 = int r Red component (0–255) |parameter6 = int g Green component (0..."
  • 22:3722:37, 7 December 2025 diff hist +624 N natives.setDisplayPlayerNameAndIconCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setDisplayPlayerNameAndIcon |parameters = int playerId, bool enable |parameter1 = int playerId The player index to affect |parameter2 = bool enable True to show the name and icon, false to hide |usage = Display or hide the player’s name and icon above their ped |notes = - Requires natives.displayPlayerNames to be enabled globally - Often combined with natives.givePedFakeNetworkName to..." current
  • 22:3622:36, 7 December 2025 diff hist +479 N natives.displayPlayerNamesCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.displayPlayerNames |parameters = bool enable |parameter1 = bool enable True to show player names, false to hide them |usage = Toggle global display of player names |notes = - Must be enabled for natives.setDisplayPlayerNameAndIcon and natives.givePedFakeNetworkName to be visible - Acts as a global switch affecting all players |return1 = void |exampleJS = natives.displayPlayerNames(true)..." current
  • 22:3522:35, 7 December 2025 diff hist +887 N natives.givePedFakeNetworkNameCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.givePedFakeNetworkName |parameters = Ped ped, string name, int r, int g, int b, int a |parameter1 = Ped ped The ped to assign the fake name to |parameter2 = string name The fake network name to display |parameter3 = int r Red component (0–255) |parameter4 = int g Green component (0–255) |parameter5 = int b Blue component (0–255) |parameter6 = int a Alpha component (0–255) |usage = Assign..." current
  • 22:3022:30, 7 December 2025 diff hist −136 natives.changeCarColourNo edit summary current
  • 22:2822:28, 7 December 2025 diff hist −41 natives.changeCarColourNo edit summary

4 December 2025

  • 00:1600:16, 4 December 2025 diff hist +772 N natives.getHashKeyCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.getHashKey |parameters = string name |parameter1 = string name The model or resource name to convert into a hash key ("M_Y_COP") |usage = Returns the hash key of a given string, typically used for models, animations, or other resources. |notes = - Commonly used before natives.requestModel to obtain the model hash - Works with ped names, vehicle names, and other resource identifiers |return1..." current
  • 00:1400:14, 4 December 2025 diff hist +683 N natives.hasModelLoadedCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.hasModelLoaded |parameters = int modelHash |parameter1 = int modelHash The model hash to check |usage = Returns whether the specified model has finished loading into memory. |notes = - Typically used after natives.requestModel to confirm readiness - Required before calling natives.createChar or spawning vehicles |return1 = bool True if the model is loaded, false otherwise |returnFail1 =..." current
  • 00:1300:13, 4 December 2025 diff hist +524 N natives.requestModelCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.requestModel |parameters = int modelHash |parameter1 = int modelHash The model hash to request (obtained with natives.getHashKey) |usage = Requests the specified model to be loaded into memory. |notes = - Must be called before creating a ped or vehicle with that model - Use natives.hasModelLoaded to check if the model is ready |return1 = void |returnFail1 = void |exampleJS = natives.getH..." current
  • 00:1000:10, 4 December 2025 diff hist +702 N natives.isPlayerTargettingCharCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.isPlayerTargettingChar |parameters = int playerId, int ped |parameter1 = int playerId The local or network player ID |parameter2 = int ped The ped handle to check against |usage = Returns whether the specified player is hard-lock targeting the given ped. |notes = - Complements natives.isPlayerFreeAimingAtChar to cover both aim states - Typically polled inside OnDrawnHUD or OnProcess..." current
  • 00:0900:09, 4 December 2025 diff hist +729 N natives.isPlayerFreeAimingAtCharCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.isPlayerFreeAimingAtChar |parameters = int playerId, int ped |parameter1 = int playerId The local or network player ID |parameter2 = int ped The ped handle to check against |usage = Returns whether the specified player is free-aiming at the given ped (without hard lock-on). |notes = - Commonly used together with natives.isPlayerTargettingChar to cover both aim states - Typically polled insid..." current
  • 00:0600:06, 4 December 2025 diff hist −78 natives.haveAnimsLoadedNo edit summary current
  • 00:0500:05, 4 December 2025 diff hist +554 N natives.requestAnimsCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.requestAnims |parameters = string animDict |parameter1 = string animDict The animation dictionary name to load (e.g. "cop") |usage = Requests the specified animation dictionary to be loaded into memory. |notes = - After requesting, use natives.haveAnimsLoaded to check if the dictionary is ready - Required before calling natives.taskPlayAnimWithFlags with animations from that dictionary |..." current
  • 00:0400:04, 4 December 2025 diff hist +711 N natives.haveAnimsLoadedCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.haveAnimsLoaded |parameters = string animDict |parameter1 = string animDict The animation dictionary name (e.g. "cop") |usage = Checks if the specified animation dictionary has been loaded into memory. |notes = - Must be called before playing an animation to ensure the dictionary is available - Often used together with natives.requestAnims to load missing dictionaries |return1 = bool True if..."
  • 00:0200:02, 4 December 2025 diff hist +786 N natives.setCharDecisionMakerCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setCharDecisionMaker |parameters = int ped, int decisionMakerId |parameter1 = int ped The ped handle |parameter2 = int decisionMakerId The decision maker ID that defines the ped’s AI behavior |usage = Assigns a decision maker to a ped, which controls how the ped reacts to threats, combat, and ambient events. |notes = - Often combined with natives.createChar to spawn a ped - Typically used..." current
  • 00:0000:00, 4 December 2025 diff hist +820 N natives.setBlockingOfNonTemporaryEventsCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setBlockingOfNonTemporaryEvents |parameters = int ped, bool toggle |parameter1 = int ped The ped handle |parameter2 = bool toggle True to block non-temporary events, false to allow them |usage = Prevents the ped from reacting to non-temporary events such as fleeing, fighting, or ambient AI behaviors. Commonly used before forcing a ped into a scripted animation. |notes = - Often combined with n..." current

3 December 2025

  • 23:5523:55, 3 December 2025 diff hist −10 natives.taskPlayAnimWithFlagsNo edit summary current
  • 23:5523:55, 3 December 2025 diff hist +923 N natives.taskPlayAnimWithFlagsCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.taskPlayAnimWithFlags |parameters = int ped, string animName, string animDict, float speed, int flag, int duration |parameter1 = int ped The ped handle |parameter2 = string animName The animation name (e.g. "armsup_loop") |parameter3 = string animDict The animation dictionary (e.g. "cop") |parameter4 = float speed The playback speed (default 8.0) |parameter5 = int flag Control flag (blend/priori..."
  • 19:5319:53, 3 December 2025 diff hist −19 natives.createCharNo edit summary current
  • 19:5219:52, 3 December 2025 diff hist +816 N natives.createCharCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.createChar |parameters = int pedType, int modelHash, Vec3 position, bool networked |parameter1 = int pedType The ped type (see Ped Defines) |parameter2 = int modelHash The model hash |parameter3 = Vec3 position The spawn position |parameter4 = bool networked Whether the ped is networked |usage = Create a ped |return1 = Ped |returnFail1 = void |exampleJS = addC..."

2 December 2025

  • 16:0416:04, 2 December 2025 diff hist +655 N natives.changeCarColourCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.changeCarColour |parameters = Vehicle vehicle, int primaryColor, int secondaryColor |parameter1 = Vehicle vehicle The vehicle |parameter2 = int primaryColor The primary color index |parameter3 = int secondaryColor The secondary color index |usage = Change the primary and secondary colors of a vehicle |notes = Color indices usually range from 0 to 133 in GTA IV |return1 = void |exampleJS = addCom..."

28 November 2025

  • 16:5616:56, 28 November 2025 diff hist +1,335 N natives.setTextDropshadowCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextDropshadow |parameters = bool enable, int r, int g, int b, int a |parameter1 = bool enable True to enable dropshadow effect, false to disable |parameter2 = int r Red component of the shadow colour (0–255) |parameter3 = int g Green component of the shadow colour (0–255) |parameter4 = int b Blue component of the shadow colour (0–255) |parameter5 = int a Alpha component (opacity) of th..." current
  • 16:5316:53, 28 November 2025 diff hist +1,312 N natives.setTextEdgeCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextEdge |parameters = bool enable, int r, int g, int b, int a |parameter1 = bool enable True to enable edge effect, false to disable |parameter2 = int r Red component of the edge colour (0–255) |parameter3 = int g Green component of the edge colour (0–255) |parameter4 = int b Blue component of the edge colour (0–255) |parameter5 = int a Alpha component (opacity) of the edge colour (0..." current
  • 16:5016:50, 28 November 2025 diff hist +940 N natives.setTextCentreCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextCentre |parameters = bool centre |parameter1 = bool centre True to center the text horizontally, false to align normally (left by default) |usage = Sets whether text drawn on the screen should be horizontally centered |notes = - Must be called before natives.displayTextWithLiteralString or similar text drawing functions - Only affects horizontal alignment; vertical alignment is contr..." current
  • 16:4516:45, 28 November 2025 diff hist +990 N natives.hasScriptLoadedCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.hasScriptLoaded |parameters = string scriptName |parameter1 = string scriptName Name of the script to check |usage = Checks if a requested script has finished loading into memory |notes = - Returns true if the script is loaded and ready to start - Must be used after natives.requestScript to confirm the script is available - Useful to avoid errors when calling natives.startNewScript |ret..." current
  • 16:4216:42, 28 November 2025 diff hist +786 N natives.startNewScriptCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.startNewScript |parameters = string scriptName, int stackSize |parameter1 = string scriptName Name of the script to start |parameter2 = int stackSize Size of the stack memory to allocate (default ~1024) |usage = Starts a new script that has been requested and loaded |notes = - Must be called after natives.requestScript and natives.hasScriptLoaded return true - The stack size defines how..." current
  • 16:4216:42, 28 November 2025 diff hist +628 N natives.requestScriptCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.requestScript |parameters = string scriptName |parameter1 = string scriptName Name of the script to request |usage = Requests a script to be loaded into memory so it can be started later |notes = - Must be called before natives.startNewScript to ensure the script is available - If the script does not exist, the request will silently fail |return1 = void |returnFail1 = void |exampleJS = bind..." current
  • 14:3414:34, 28 November 2025 diff hist 0 N File:radar base.pngNo edit summary current
  • 14:2314:23, 28 November 2025 diff hist 0 N File:radar objective.pngNo edit summary current
  • 14:2114:21, 28 November 2025 diff hist 0 N File:radar revenge.pngNo edit summary current
  • 14:1914:19, 28 November 2025 diff hist 0 N File:radar multiplayer tutorial.pngNo edit summary current
  • 14:1414:14, 28 November 2025 diff hist 0 N File:radar destination.pngNo edit summary current
  • 14:1214:12, 28 November 2025 diff hist 0 N File:radar destination 2.pngNo edit summary current
  • 14:1114:11, 28 November 2025 diff hist 0 N File:radar destination 1.pngNo edit summary current
  • 12:1912:19, 28 November 2025 diff hist +1,066 N natives.setTextColourCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextColour |parameters = int r, int g, int b, int a |parameter1 = int r Red component (0–255) |parameter2 = int g Green component (0–255) |parameter3 = int b Blue component (0–255) |parameter4 = int a Alpha component (0–255), controls opacity (0 = fully transparent, 255 = fully opaque) |usage = Sets the RGBA colour and opacity of text drawn on the screen |notes = - Must be called bef..." current
  • 12:1512:15, 28 November 2025 diff hist +907 N natives.setTextFontCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextFont |parameters = int fontId |parameter1 = int fontId Font style index (0–8 available) |usage = Sets the font style used for text drawn on the screen |notes = - Must be called before natives.displayTextWithLiteralString or similar text drawing functions - Available font IDs range from 0 to 8 - Each font ID corresponds to a different style; some may look similar depending on the ga..." current
  • 12:1112:11, 28 November 2025 diff hist −6 natives.displayTextWithLiteralStringNo edit summary current
  • 12:1012:10, 28 November 2025 diff hist −5 natives.setTextScaleNo edit summary current
  • 12:1012:10, 28 November 2025 diff hist +1,229 N natives.setTextScaleCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextScale |parameters = float xScale, float yScale |parameter1 = float xScale Horizontal scale factor for the text (0.20) |parameter2 = float yScale Vertical scale factor for the text (0.40) |usage = Sets the horizontal and vertical scale of text drawn on the screen |notes = - Set the scale in the same frame before calling natives.displayTextWithLiteralString or other text draw functions..."
  • 11:5011:50, 28 November 2025 diff hist +1,340 N natives.displayTextWithLiteralStringCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.displayTextWithLiteralString |parameters = Vec2 position, string literal, string text |parameter1 = Vec2 position Normalized screen coordinates (0.0–1.0) where the text will be drawn |parameter2 = string literal Literal type for the text, usually "STRING" |parameter3 = string text The actual text content to display |usage = Draws a text string on the screen at the specified position using a li..."
  • 00:4500:45, 28 November 2025 diff hist +922 N natives.requestStreamedTxdCreated page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.requestStreamedTxd |parameters = string txdName, bool persistent |parameter1 = string txdName Name of the streamed TXD (texture dictionary) to request |parameter2 = bool persistent If true, keeps the TXD loaded persistently; if false, it may be unloaded when not needed |usage = Requests a streamed TXD to be loaded into memory so its textures can be accessed |notes = - Unlike natives.loadTxd..." current
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)