All public logs

Combined display of all available logs of RAGE Multiplayer Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)
  • 18:06, 11 February 2026 Shr0x talk contribs created page System::connectToServer (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''ip:''' {{RageType|string}} *'''port:''' {{RageType|number}} *'''sessionData:''' {{RageType|string}} (Optional) === Return value === *''' {{RageType|void}} ''' == Syntax == <syntaxhighlight lang="javascript"> mp.system.connectToServer(ip, port, sessionData); </syntaxhighlight> == Example == <syntaxhighlight lang="javascript"> mp.system.connectToServer("127.0.0.1", 22005, "playerAuthToken"); </syntaxhi...")
  • 18:04, 11 February 2026 Shr0x talk contribs created page System::setConnectableServers (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''serverIps:''' {{RageType|Array<string>}} === Return value === *''' {{RageType|void}} ''' == Syntax == <syntaxhighlight lang="javascript"> mp.system.setConnectableServers(serverIps); </syntaxhighlight> == Example == <syntaxhighlight lang="javascript"> mp.system.setConnectableServers(["127.0.0.1", "192.168.1.10"]); </syntaxhighlight> == Notes == * Can only be called once during script initialization....")
  • 17:51, 11 February 2026 Shr0x talk contribs created page Object::disableGlow (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''handle:''' {{RageType|number}} === Return value === *''' {{RageType|void}} ''' == Syntax == <syntaxhighlight lang="javascript"> mp.game.object.disableGlow(handle); </syntaxhighlight> == Example == <syntaxhighlight lang="javascript"> mp.game.object.disableGlow(object.handle); </syntaxhighlight> }} ==See also== {{Object_function_c}} Category:Clientside API")
  • 17:50, 11 February 2026 Shr0x talk contribs created page Object::enableGlow (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''handle:''' {{RageType|number}} *'''glowStyle:''' {{RageType|number}} === Return value === *''' {{RageType|void}} ''' == Syntax == <syntaxhighlight lang="javascript"> mp.game.object.enableGlow(handle, glowStyle); </syntaxhighlight> == Example == <syntaxhighlight lang="javascript"> mp.game.object.enableGlow(object.handle, glow); </syntaxhighlight> }} ==See also== {{Object_function_c}} Category:Client...")
  • 17:49, 11 February 2026 Shr0x talk contribs created page Object::modifyGlowStyle (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''glowStyle:''' {{RageType|number}} *'''freq:''' {{RageType|number}} *'''minIntensity:''' {{RageType|number}} *'''maxIntensity:''' {{RageType|number}} === Return value === *''' {{RageType|void}} ''' == Syntax == <syntaxhighlight lang="javascript"> mp.game.object.modifyGlowStyle(glowStyle, freq, minIntensity, maxIntensity); </syntaxhighlight> == Example == <syntaxhighlight lang="javascript"> mp.game.obj...")
  • 17:48, 11 February 2026 Shr0x talk contribs created page Object::releaseGlowStyle (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''glowStyle:''' {{RageType|number}} === Return value === *''' {{RageType|void}} ''' == Syntax == <syntaxhighlight lang="javascript"> mp.game.object.releaseGlowStyle(glowStyle); </syntaxhighlight> == Example == <syntaxhighlight lang="javascript"> mp.game.object.releaseGlowStyle(glow); </syntaxhighlight> }} ==See also== {{Object_function_c}} Category:Clientside API")
  • 17:46, 11 February 2026 Shr0x talk contribs created page Object::createGlowStyle (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''freq:''' {{RageType|number}} *'''minIntensity:''' {{RageType|number}} *'''maxIntensity:''' {{RageType|number}} === Return value === *''' {{RageType|number}} ''' (glowStyle id) == Syntax == <syntaxhighlight lang="javascript"> const glowStyle = mp.game.object.createGlowStyle(freq, minIntensity, maxIntensity); </syntaxhighlight> == Example == <syntaxhighlight lang="javascript"> const glow = mp.game.obje...")
  • 00:07, 27 December 2025 Shr0x talk contribs created page PerformanceTimer::reset (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> const timer = mp.game.misc.startPerformanceTimer(); timer.reset() </syntaxhighlight> }} ==See also== {{Gameplay_functions_c}} Category:Clientside API")
  • 00:06, 27 December 2025 Shr0x talk contribs created page PerformanceTimer::getElapsedUs (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *'''{{RageType|number}}''' — Elapsed time in microseconds. ==Syntax== <syntaxhighlight lang="javascript"> const timer = mp.game.misc.startPerformanceTimer(); timer.getElapsedUs() </syntaxhighlight> }} ==See also== {{Gameplay_functions_c}} Category:Clientside API")
  • 00:05, 27 December 2025 Shr0x talk contribs created page PerformanceTimer::getElapsedMs (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *'''{{RageType|number}}''' — Elapsed time in ms. ==Syntax== <syntaxhighlight lang="javascript"> const timer = mp.game.misc.startPerformanceTimer(); timer.getElapsedMs() </syntaxhighlight> }} ==See also== {{Gameplay_functions_c}} Category:Clientside API")
  • 00:04, 27 December 2025 Shr0x talk contribs created page PerformanceTimer::getElapsedSec (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *'''{{RageType|number}}''' — Elapsed time in seconds. ==Syntax== <syntaxhighlight lang="javascript"> const timer = mp.game.misc.startPerformanceTimer(); timer.getElapsedSec() </syntaxhighlight> }} ==See also== {{Gameplay_functions_c}} Category:Clientside API")
  • 23:59, 26 December 2025 Shr0x talk contribs created page Gameplay::startPerformanceTimer (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *None ===Return value=== *'''{{RageType|PerformanceTimer}}''' — A performance timer instance. ==Syntax== <syntaxhighlight lang="javascript"> mp.game.misc.startPerformanceTimer() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const timer = mp.game.misc.startPerformanceTimer(); // some heavy logic here mp.gui.chat.push(`Elapsed ms: ${timer.getElapsedMs()}`); </syntaxhighlight> }} ==S...")
  • 22:17, 26 December 2025 Shr0x talk contribs created page Player::getNearbyObjects (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''numObjects:''' {{RageType|number}} — Maximum number of objects to return. *'''maxDistance:''' {{RageType|number}} — Maximum search distance. *'''ignoreDamaged:''' {{RageType|boolean}} — Whether to ignore damaged objects. ===Return value=== *'''{{RageType|Array<NearbyObjectInfo>|null}}''' — Array of nearby objects or null if none found. ''NearbyObjectInfo contains:'' *'''model''' — {{RageType|n...")
  • 22:16, 26 December 2025 Shr0x talk contribs created page Player::getNearvyObjects (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''numObjects:''' {{RageType|number}} — Maximum number of objects to return. *'''maxDistance:''' {{RageType|number}} — Maximum search distance. *'''ignoreDamaged:''' {{RageType|boolean}} — Whether to ignore damaged objects. ===Return value=== *'''{{RageType|Array<NearbyObjectInfo>|null}}''' — Array of nearby objects or null if none found. ''NearbyObjectInfo contains:'' *'''model''' — {{RageType|n...")
  • 17:48, 16 March 2025 Shr0x talk contribs created page Streaming::releaseRuntimeAsset (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''resourceName:''' {{RageType|string}} or {{RageType|number}} — The name or handle of the asset to release. ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.streaming.releaseRuntimeAsset(resourceName) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.game.streaming.releaseRuntimeAsset("myAsset"); </syntaxhighlight> }} ==See also== {...")
  • 17:46, 16 March 2025 Shr0x talk contribs created page Streaming::requestRuntimeAssetFromUrl (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''resourceName:''' {{RageType|string}} — The name of the resource. *'''url:''' {{RageType|string}} — The URL from which to request the asset. ===Return value=== *'''{{RageType|Promise<boolean>}}''' — Resolves to `true` if the asset was successfully loaded, otherwise `false`. ==Syntax== <syntaxhighlight lang="javascript"> mp.game.streaming.requestRuntimeAssetFromUrl(string resourceName, string url) <...")
  • 17:42, 16 March 2025 Shr0x talk contribs created page Template:Raycast functions c (Created page with "*mp.raycasting.testVisualDrawablePointToPoint *mp.raycasting.testPointToPoint *mp.raycasting.testPointToPointAsync *mp.raycasting.testCapsule *mp.raycasting.testVisualDrawablePointToPointForEntity")
  • 17:41, 16 March 2025 Shr0x talk contribs created page Raycasting::testVisualDrawablePointToPointForEntity (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''rayStart:''' {{RageType|Vector3}} — The starting position of the raycast. *'''rayEnd:''' {{RageType|Vector3}} — The ending position of the raycast. *'''entityHandle:''' {{RageType|number}} — The handle of the entity to test against. ===Return value=== *'''{{RageType|Object}}''' — Returns an object containing information about the hit result. ==Syntax== <syntaxhighlight lang="javascript"> mp.rayc...")
  • 17:39, 16 March 2025 Shr0x talk contribs created page Raycasting::testVisualDrawablePointToPoint (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''rayStart:''' {{RageType|Vector3}} — The starting position of the raycast. *'''rayEnd:''' {{RageType|Vector3}} — The ending position of the raycast. *'''flags:''' {{RageType|number}} (optional, default: -1) — Flags that determine the behavior of the raycast. ===Return value=== *'''{{RageType|Object}}''' — Returns an object containing information about the hit result. ==Syntax== <syntaxhighlight l...")
  • 21:55, 1 February 2025 Shr0x talk contribs created page PauseMenuItemChange (Created page with "{{ClientsideEvent}} {{JSContainer| ===Parameters=== *'''itemHash:''' {{RageType|number}} *'''value:''' {{RageType|number}} *'''oldValue:''' {{RageType|number}} ==Syntax== <syntaxhighlight lang="javascript"> mp.events.add("pauseMenuItemChange", (itemHash, value, oldValue) => { // Your code here }); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Player_events}} Category:Clientside Events Category:...")
  • 21:54, 1 February 2025 Shr0x talk contribs created page PauseMenuItemSelect (Created page with "{{ClientsideEvent}} {{JSContainer| ===Parameters=== *'''itemHash:''' {{RageType|number}} ==Syntax== <syntaxhighlight lang="javascript"> mp.events.add("pauseMenuItemSelect", (itemHash) => { // Your code here }); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Player_events}} Category:Clientside Events Category:TODO: Example }}")
  • 21:51, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setItemEnabled (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''itemHash:''' {{RageType|number}} *'''isEnabled:''' {{RageType|bool}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setItemEnabled(itemHash, isEnabled) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}")
  • 21:51, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setItemValue (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''itemHash:''' {{RageType|number}} *'''value:''' {{RageType|number}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setItemValue(itemHash, value) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}")
  • 21:50, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setItemColor (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''itemHash:''' {{RageType|number}} *'''colorIndex:''' {{RageType|number}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setItemColor(itemHash, colorIndex) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}")
  • 21:50, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setItemTicksVisible (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''itemHash:''' {{RageType|number}} *'''isVisible:''' {{RageType|bool}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setItemTicksVisible(itemHash, isVisible) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}")
  • 21:48, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setItemList (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''itemHash:''' {{RageType|number}} *'''values:''' {{RageType|Array<string>}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setItemList(itemHash, values) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}")
  • 21:48, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setItemRange (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''itemHash:''' {{RageType|number}} *'''rangeFrom:''' {{RageType|number}} *'''rangeTo:''' {{RageType|number}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setItemRange(itemHash, rangeFrom, rangeTo) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Client...")
  • 21:48, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setItemText (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''itemHash:''' {{RageType|number}} *'''text:''' {{RageType|string}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setItemText(itemHash, text) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}")
  • 21:47, 1 February 2025 Shr0x talk contribs created page Ui::pausemenu.setScreenHeader (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''screenHash:''' {{RageType|number}} *'''header:''' {{RageType|string}} ===Return value=== *'''{{RageType|void}}''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ui.pausemenu.setScreenHeader(screenHash, header) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}")
  • 18:30, 25 December 2024 Shr0x talk contribs created page Player::taskCrawlToCoords (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Directs the player to crawl to specified coordinates. === Syntax === <syntaxhighlight lang="javascript"> player.taskCrawlToCoords(pos, isOnBack, timeout); </syntaxhighlight> === Required Parameters === * '''pos:''' {{RageType|mp.Vector3}} - The target coordinates. * '''isOnBack:''' {{RageType|bool}} - Set to `true` to crawl on the back, or `false` to crawl face-down. * '''timeout:''' {{RageType|number}} - The tim...")
  • 18:29, 25 December 2024 Shr0x talk contribs created page Player::taskCrawl (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Makes the player crawl on the ground in a prone position. === Syntax === <syntaxhighlight lang="javascript"> player.taskCrawl(isOnBack); </syntaxhighlight> === Required Parameters === * '''isOnBack:''' {{RageType|bool}} - Set to `true` to crawl on the back, or `false` to crawl face-down. === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascript"> // Make the local player crawl fac...")
  • 18:29, 25 December 2024 Shr0x talk contribs created page Player::taskRevive (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Revives a player, ending any death animations and restoring normal movement. === Syntax === <syntaxhighlight lang="javascript"> player.taskRevive(); </syntaxhighlight> === Required Parameters === None === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascript"> // Revive the local player mp.players.local.taskRevive(); mp.gui.chat.push("The player has been revived."); </syntaxhighli...")
  • 18:28, 25 December 2024 Shr0x talk contribs created page Player::taskBleedingDeath (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Starts a bleeding death animation for the player, simulating a fatal injury. === Syntax === <syntaxhighlight lang="javascript"> player.taskBleedingDeath(); </syntaxhighlight> === Required Parameters === None === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascript"> // Trigger bleeding death animation for the local player mp.players.local.taskBleedingDeath(); mp.gui.chat.push("Th...")
  • 18:25, 25 December 2024 Shr0x talk contribs created page Weapon::setSimulateLocalDamageImpacts (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Enables or disables the simulation of local damage impacts for weapons. === Syntax === <syntaxhighlight lang="javascript"> mp.game.weapon.setSimulateLocalDamageImpacts(doSimulate); </syntaxhighlight> === Required Parameters === * '''doSimulate:''' {{RageType|bool}} - Set to `true` to enable simulation, or `false` to disable. === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascrip...")
  • 18:15, 25 December 2024 Shr0x talk contribs created page Globals::waitForAsync (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Executes a callback function and resolves a promise when the callback completes, or rejects if the timeout is reached. === Syntax === <syntaxhighlight lang="javascript"> mp.game.waitForAsync(cb, timeout = 60000); </syntaxhighlight> === Required Parameters === * '''cb:''' {{RageType|function}} - The callback function to execute. * '''timeout:''' {{RageType|number}} - Optional. Timeout in milliseconds (default: 600...")
  • 18:13, 25 December 2024 Shr0x talk contribs created page Cutscene::requestCutsceneAsync (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Requests a cutscene to be loaded asynchronously, resolving the promise when the cutscene is ready or rejecting on timeout. === Syntax === <syntaxhighlight lang="javascript"> mp.game.cutscene.requestCutsceneAsync(name, flags, timeout = 5000); </syntaxhighlight> === Required Parameters === * '''name:''' {{RageType|string}} - The name of the cutscene to load. * '''flags:''' {{RageType|number}} - Flags for cutscene b...")
  • 18:12, 25 December 2024 Shr0x talk contribs created page Graphics::requestStreamedTextureDictAsync (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Asynchronously requests a streamed texture dictionary to be loaded. === Syntax === <syntaxhighlight lang="javascript"> mp.game.graphics.requestStreamedTextureDictAsync(name, timeout = 5000); </syntaxhighlight> === Required Parameters === * '''name:''' {{RageType|string}} - The name of the texture dictionary to load. * '''timeout:''' {{RageType|number}} - Optional. Timeout in milliseconds (default: 5000). === Ret...")
  • 18:12, 25 December 2024 Shr0x talk contribs created page Streaming::requestAnimDictAsync (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Requests an animation dictionary asynchronously, resolving when it is loaded or rejecting on timeout. === Syntax === <syntaxhighlight lang="javascript"> mp.game.streaming.requestAnimDictAsync(name, timeout = 5000); </syntaxhighlight> === Required Parameters === * '''name:''' {{RageType|string}} - The name of the animation dictionary to load. * '''timeout:''' {{RageType|number}} - Optional. Timeout in milliseconds...")
  • 18:11, 25 December 2024 Shr0x talk contribs created page Vehicle::requestVehicleAssetAsync (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Asynchronously requests a vehicle asset to be loaded. === Syntax === <syntaxhighlight lang="javascript"> mp.game.vehicle.requestVehicleAssetAsync(nameHash, flags, timeout = 5000); </syntaxhighlight> === Required Parameters === * '''nameHash:''' {{RageType|number}} - The hash of the vehicle model. * '''flags:''' {{RageType|number}} - Flags for asset loading behavior. * '''timeout:''' {{RageType|number}} - Optional...")
  • 18:07, 25 December 2024 Shr0x talk contribs created page Camera::getDofParam (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Retrieves the current value of a specific Depth of Field (DOF) parameter for the active camera. === Syntax === <syntaxhighlight lang="javascript"> camera.getDofParam(paramHash); </syntaxhighlight> === Required Parameters === * '''paramHash:''' {{RageType|number}} - The hash of the DOF parameter to retrieve. === Return Value === * '''{{RageType|bool|number|Array}}''' - The value of the specified DOF parameter. Th...")
  • 18:07, 25 December 2024 Shr0x talk contribs created page Camera::setDofParam (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Sets a specific Depth of Field (DOF) parameter for the active camera. === Syntax === <syntaxhighlight lang="javascript"> camera.setDofParam(paramHash, value); </syntaxhighlight> === Required Parameters === * '''paramHash:''' {{RageType|number}} - The hash of the DOF parameter to set. * '''value:''' {{RageType|bool|number|Array<number>}} - The value to assign to the parameter. === Return Value === * '''undefined'...")
  • 18:06, 25 December 2024 Shr0x talk contribs created page Cam::getDofParam (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Retrieves the value of a specific Depth of Field (DOF) parameter for a specified camera. === Syntax === <syntaxhighlight lang="javascript"> mp.game.cam.getDofParam(cameraHandle, paramHash); </syntaxhighlight> === Required Parameters === * '''cameraHandle:''' {{RageType|number}} - The handle of the camera. * '''paramHash:''' {{RageType|number}} - The hash of the DOF parameter to retrieve. === Return Value === * '...")
  • 18:06, 25 December 2024 Shr0x talk contribs created page Cam::setDofParam (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Sets a specific Depth of Field (DOF) parameter for a specified camera. === Syntax === <syntaxhighlight lang="javascript"> mp.game.cam.setDofParam(cameraHandle, paramHash, value); </syntaxhighlight> === Required Parameters === * '''cameraHandle:''' {{RageType|number}} - The handle of the camera. * '''paramHash:''' {{RageType|number}} - The hash of the DOF parameter to set. * '''value:''' {{RageType|bool|number|Arr...")
  • 22:58, 24 December 2024 Shr0x talk contribs created page Vehicle::setGearRatios (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Sets custom gear ratios for the specified vehicle. === Syntax === <syntaxhighlight lang="javascript"> vehicle.setGearRatios(ratios); </syntaxhighlight> === Required Parameters === * '''ratios:''' {{RageType|Array<number>}} - An array of gear ratios. === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascript"> // Set custom gear ratios for a vehicle const myVehicle = mp.players.loca...")
  • 22:56, 24 December 2024 Shr0x talk contribs created page Vehicle::setResetUnoccupiedSteerAngle (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Sets whether the steering angle of unoccupied vehicles should reset automatically. === Syntax === <syntaxhighlight lang="javascript"> mp.game.vehicle.setResetUnoccupiedSteerAngle(value); </syntaxhighlight> === Required Parameters === * '''value:''' {{RageType|boolean}} - Set to `true` to enable automatic reset, `false` to disable. === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="jav...")
  • 22:55, 24 December 2024 Shr0x talk contribs created page Vehicle::getWheelGroundSurfaceMaterial (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Returns the surface material beneath a specific wheel of a vehicle. === Syntax === <syntaxhighlight lang="javascript"> vehicle.getWheelGroundSurfaceMaterial(wheelIndex); </syntaxhighlight> === Required Parameters === * '''wheelIndex:''' {{RageType|number}} The index of the wheel (0 / front left, 1 / front right, etc.). === Return Value === * '''{{RageType|number}}''' - The material identifier for the surface ben...")
  • 22:54, 24 December 2024 Shr0x talk contribs created page Vehicle::setModelGearRatios (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Sets custom gear ratios for a specific vehicle model. === Syntax === <syntaxhighlight lang="javascript"> mp.game.vehicle.setModelGearRatios(vehicleModelHash, ratios); </syntaxhighlight> === Required Parameters === * '''vehicleModelHash:''' {{RageType|number}} - Hash of the vehicle model. * '''ratios:''' {{RageType|Array<number>}} - Array of gear ratios. === Return Value === * '''undefined''' === Example === <sy...")
  • 22:53, 24 December 2024 Shr0x talk contribs created page Vehicle::setModelDriveForceCurve (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Applies a custom drive force curve to a specific vehicle model. === Syntax === <syntaxhighlight lang="javascript"> mp.game.vehicle.setModelDriveForceCurve(vehicleModelHash, curveNameHash); </syntaxhighlight> === Required Parameters === * '''vehicleModelHash:''' {{RageType|number}} - Hash of the vehicle model. * '''curveNameHash:''' {{RageType|number}} - Hash of the custom drive force curve. === Return Value ===...")
  • 22:52, 24 December 2024 Shr0x talk contribs created page Vehicle::deleteDriveForceCurve (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Deletes a previously created drive force curve. === Syntax === <syntaxhighlight lang="javascript"> mp.game.vehicle.deleteDriveForceCurve(curveNameHash); </syntaxhighlight> === Required Parameters === * '''curveNameHash:''' {{RageType|number}} - The hash identifier for the curve to delete. === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascript"> const curveHash = mp.game.joaat("...")
  • 22:51, 24 December 2024 Shr0x talk contribs created page Vehicle::getDriveForceCurveValue (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Retrieves the drive force output for a specified RPM using a previously created drive force curve. === Syntax === <syntaxhighlight lang="javascript"> mp.game.vehicle.getDriveForceCurveValue(curveNameHash, input); </syntaxhighlight> === Required Parameters === * '''curveNameHash:''' {{RageType|number}} - The hash identifier for the curve. * '''input:''' {{RageType|number}} - The input RPM value. === Return Value...")
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)