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).
- 21:58, 29 April 2024 Shr0x talk contribs created page Ped::isInAnyVehicle (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''atGetIn:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.isInAnyVehicle(ped, atGetIn) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category:Clientside API Category:TODO: Example")
- 21:58, 29 April 2024 Shr0x talk contribs created page Ped::isInModel (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''modelHash:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.isInModel(ped, modelHash) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category:Clientside API Category:TODO: Example")
- 21:58, 29 April 2024 Shr0x talk contribs created page Ped::isInVehicle (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''vehicle:''' {{RageType|number}} *'''atGetIn:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.isInVehicle(ped, vehicle, atGetIn) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category:Clientside API [...")
- 21:57, 29 April 2024 Shr0x talk contribs created page Ped::cloneToTargetEx (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''targetPed:''' {{RageType|number}} *'''p2:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.cloneToTargetEx(ped, targetPed, p2) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category:Clientside API Categ...")
- 21:57, 29 April 2024 Shr0x talk contribs created page Ped::cloneToTarget (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''targetPed:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.cloneToTarget(ped, targetPed) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category:Clientside API Category:TODO: Example")
- 21:57, 29 April 2024 Shr0x talk contribs created page Ped::cloneEx (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''heading:''' {{RageType|number}} *'''isNetwork:''' {{RageType|boolean}} *'''bScriptHostPed:''' {{RageType|boolean}} *'''p4:''' {{RageType|number}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.cloneEx(ped, heading, isNetwork, bScriptHostPed, p4) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"...")
- 21:57, 29 April 2024 Shr0x talk contribs created page Ped::clone (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''heading:''' {{RageType|number}} *'''isNetwork:''' {{RageType|boolean}} *'''bScriptHostPed:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.clone(ped, heading, isNetwork, bScriptHostPed) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See...")
- 21:56, 29 April 2024 Shr0x talk contribs created page Ped::delete (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.delete(ped) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category:Clientside API Category:TODO: Example")
- 21:56, 29 April 2024 Shr0x talk contribs created page Ped::create (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''pedType:''' {{RageType|number}} *'''modelHash:''' {{RageType|number}} *'''x:''' {{RageType|number}} *'''y:''' {{RageType|number}} *'''z:''' {{RageType|number}} *'''heading:''' {{RageType|number}} *'''isNetwork:''' {{RageType|boolean}} *'''bScriptHostPed:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.create(pedType, mo...")
- 21:55, 29 April 2024 Shr0x talk contribs created page Ped::addDecorationFromHashes (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''collection:''' {{RageType|number}} *'''overlay:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.addDecorationFromHashes(ped, collection, overlay) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category:Clie...")
- 16:00, 29 April 2024 Shr0x talk contribs created page Gameplay::setForcePlayerToJump (Created page with "{{ClientsideJsFunction}} {{JSContainer| Set the player to be forced into jump state, should be called in render as it works per frame. ===Required Params=== *'''handle:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.setForcePlayerToJump(handle) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> let playerJumping = true; //force player to jump mp.events.add('render', (...")
- 15:53, 29 April 2024 Shr0x talk contribs created page Gameplay::getCoordsOfProjectileTypeWithinDistance (Created page with "{{ClientsideJsFunction}} {{JSContainer| Checks that a projectile object of the specified type is within distance ===Required Params=== *'''ped:''' {{RageType|number}} *'''weaponHash:''' {{RageType|number}} *'''radius:''' {{RageType|Float}} *'''isPlayer:''' {{RageType|boolean}} ===Return value=== *'''{ entity: number; } ''' {{RageType|Object}} ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getCoordsOfProjectileTypeWithinDistance(ped, weaponHash, radius...")
- 15:48, 29 April 2024 Shr0x talk contribs created page Gameplay::getCoordsOfProjectileTypeInArea (Created page with "{{ClientsideJsFunction}} {{JSContainer| Checks if a projectile object of the specified type is in the given area ===Required Params=== *'''minX:''' {{RageType|Float}} *'''minY:''' {{RageType|Float}} *'''minZ:''' {{RageType|Float}} *'''maxX:''' {{RageType|Float}} *'''maxY:''' {{RageType|Float}} *'''maxZ:''' {{RageType|Float}} *'''projectileHash:''' {{RageType|number}} *'''isPlayer:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <synta...")
- 15:44, 29 April 2024 Shr0x talk contribs created page Gameplay::isProjectileTypeWithinDistance (Created page with "{{ClientsideJsFunction}} {{JSContainer| Checks if a projectile object of the specified type is in a given area ===Required Params=== *'''x:''' {{RageType|Float}} *'''y:''' {{RageType|Float}} *'''z:''' {{RageType|Float}} *'''weaponType:''' {{RageType|number}} Weapon hash can be found here -> Weapons *'''distance:''' {{RageType|Float}} *'''isPlayer:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript">...")
- 15:41, 29 April 2024 Shr0x talk contribs created page Gameplay::clearAreaLeaveVehicleHealth (Created page with "{{ClientsideJsFunction}} {{JSContainer| Clears all cars and peds within the given area but does not change the vehicle health ===Required Params=== *'''x:''' {{RageType|Float}} *'''y:''' {{RageType|Float}} *'''z:''' {{RageType|Float}} *'''radius:''' {{RageType|Float}} *'''deleteProjectiles:''' {{RageType|Float}} *'''leaveCarGens:''' {{RageType|Float}} *'''clearPickups:''' {{RageType|Float}} *'''broadcast:''' {{RageType|Float}} ===Return value=== *''' {{RageType|number}}...")
- 15:36, 29 April 2024 Shr0x talk contribs created page Gameplay::getNextWeatherTypeHashName (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the hash name of the next weather type ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getNextWeatherTypeHashName(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const nextWeather = mp.game.gameplay.getNextWeatherTypeHashName(); mp.console.logInfo(`Next weather hash type is: ${nextWeather}`) </syntaxhighlight> }} ==See also== {{Gameplay_de...")
- 15:35, 29 April 2024 Shr0x talk contribs created page Gameplay::getPrevWeatherTypeHashName (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the hash name of the previous weather type ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getPrevWeatherTypeHashName(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const previousWeather = mp.game.gameplay.getPrevWeatherTypeHashName(); mp.console.logInfo(`Previous weather hash type is: ${previousWeather}`) </syntaxhighlight> }} ==See also...")
- 15:34, 29 April 2024 Shr0x talk contribs created page Gameplay::getBaseElementMetadata (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets base element location data from scriptmetadata ===Required Params=== *'''element:''' {{RageType|number}} *'''blockIndex:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getBaseElementMetadata(element, blockIndex); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_defin...")
- 15:32, 29 April 2024 Shr0x talk contribs created page Gameplay::pauseDeathArrestRestart (Created page with "{{ClientsideJsFunction}} {{JSContainer| When the player is killed or arrested, they will respawn at the closest hospital or police station ===Required Params=== *'''pause:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.pauseDeathArrestRestart(pause); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}}...")
- 15:31, 29 April 2024 Shr0x talk contribs created page Gameplay::clearRestartCustomPosition (Created page with "{{ClientsideJsFunction}} {{JSContainer| Clears any used Gameplay::setRestartCustomPosition ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.clearRestartCustomPosition(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:30, 29 April 2024 Shr0x talk contribs created page Gameplay::setRestartCustomPosition (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' x: ''' {{RageType|Float}} *''' y: ''' {{RageType|Float}} *''' z: ''' {{RageType|Float}} *''' heading: ''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.setRestartCustomPosition(x, y, z, heading); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definitio...")
- 15:29, 29 April 2024 Shr0x talk contribs created page Gameplay::networkSetScriptIsSafeForNetworkGame (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.networkSetScriptIsSafeForNetworkGame(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:27, 29 April 2024 Shr0x talk contribs created page Gameplay::haveCreditsReachedEnd (Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns whether the "game ending?" credits have reached their end. ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.haveCreditsReachedEnd(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:26, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideFadeOut (Created page with "{{ClientsideJsFunction}} {{JSContainer| Fade out a previously set water override over time seconds ===Required Values=== *'''time:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideFadeOut(time); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: E...")
- 15:25, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideFadeIn (Created page with "{{ClientsideJsFunction}} {{JSContainer| Fade out a previously set water override over time seconds ===Required Values=== *'''time:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideFadeIn(time); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Ex...")
- 15:24, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetStrength (Created page with "{{ClientsideJsFunction}} {{JSContainer| Set the strength of the water override (value must be between 0.0 and 1.0) ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetStrength(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside AP...")
- 15:24, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetRippledisturb (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetRippledisturb(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:23, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetRipplemaxbumpiness (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetRipplemaxbumpiness(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:23, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetRippleminbumpiness (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetRippleminbumpiness(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:23, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetRipplebumpiness (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetRipplebumpiness(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:22, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetOceanwavemaxamplitude (Created page with "{{ClientsideJsFunction}} {{JSContainer| Set ocean wave max amplitude ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetOceanwavemaxamplitude(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:21, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetOceanwaveminamplitude (Created page with "{{ClientsideJsFunction}} {{JSContainer| Set ocean wave min amplitude ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetOceanwaveminamplitude(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:20, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetOceanwaveamplitude (Created page with "{{ClientsideJsFunction}} {{JSContainer| Set ocean wave amplitude ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetOceanwaveamplitude(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:20, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetOceannoiseminamplitude (Created page with "{{ClientsideJsFunction}} {{JSContainer| Set ocean noise min amplitude ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetOceannoiseminamplitude(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:19, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetShorewavemaxamplitude (Created page with "{{ClientsideJsFunction}} {{JSContainer| Changes shore waves max amplitude ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetShorewavemaxamplitude(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:18, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetShorewaveminamplitude (Created page with "{{ClientsideJsFunction}} {{JSContainer| Changes shore waves min amplitude ===Required Values=== *'''value:''' {{RageType|Float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetShorewaveminamplitude(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 15:17, 29 April 2024 Shr0x talk contribs created page Gameplay::nextOnscreenKeyboardResultWillDisplayUsingTheseFonts (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Values=== *'''fontbitField:''' {{RageType|Number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.nextOnscreenKeyboardResultWillDisplayUsingTheseFonts(fontbitField); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 11:57, 29 April 2024 Shr0x talk contribs created page Gameplay::getBenchmarkTime (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the system time step since the last frame ===Return value=== *''' {{RageType|float}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getBenchmarkTime(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const benchmarkTime = mp.game.gameplay.getBenchmarkTime(); mp.console.logInfo(`Bench mark time is ${benchmarkTime}`) </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Categor...")
- 11:55, 29 April 2024 Shr0x talk contribs created page Gameplay::waterOverrideSetShorewaveamplitude (Created page with "{{ClientsideJsFunction}} {{JSContainer| Overrides shore water wave amplitude. ===Required Params=== *'''value:''' {{RageType|float}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetShorewaveamplitude(value); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.game.gameplay.waterOverrideSetShorewaveamplitude(5.0); </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}}...")
- 11:37, 29 April 2024 Shr0x talk contribs created page Gameplay::setBeastModeActive (beast)))
- 11:33, 29 April 2024 Shr0x talk contribs created page Gameplay::slerpNearQuaternion (Created page with "{{ClientsideJsFunction}} {{JSContainer| Slerps a qauterion beetween start and target. ===Required Params=== *'''time:''' {{RageType|float}} *'''startX:''' {{RageType|float}} *'''starty:''' {{RageType|float}} *'''startz:''' {{RageType|float}} *'''startW:''' {{RageType|float}} *'''destX:''' {{RageType|float}} *'''destY:''' {{RageType|float}} *'''destZ:''' {{RageType|float}} *'''w1:''' {{RageType|float}} ===Return value=== *''' {{RageType|Object}} ''' <pre>Return Value:...")
- 11:28, 29 April 2024 Shr0x talk contribs created page Gameplay::getHeadingFromVector2D (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets a heading in degrees between x and y points. ===Required Params=== *'''x:''' {{RageType|float}} *'''y:''' {{RageType|float}} ===Return value=== *''' {{RageType|float}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getHeadingFromVector2D(x, y); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API...")
- 11:27, 29 April 2024 Shr0x talk contribs created page Gameplay::getAngleBetween2DVectors (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the angle in degrees between 2 given points ===Required Params=== *'''x1:''' {{RageType|float}} *'''y1:''' {{RageType|float}} *'''x2:''' {{RageType|float}} *'''y2:''' {{RageType|float}} ===Return value=== *''' {{RageType|float}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getAngleBetween2DVectors(x1, y1, x2, y2); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighl...")
- 11:25, 29 April 2024 Shr0x talk contribs created page Gameplay::getGlobalCharBuffer (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the content name to load when the game is launched ===Return value=== *''' {{RageType|string}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getGlobalCharBuffer(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 11:23, 29 April 2024 Shr0x talk contribs created page Gameplay::getNumberOfFreeStacksOfThisSize (Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns the number of stacks that are used by given size. ===Required Params=== *'''size:''' {{RageType|number}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getNumberOfFreeStacksOfThisSize(size); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Ca...")
- 11:21, 29 April 2024 Shr0x talk contribs created page Gameplay::getAllocatedStackSize (Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns the size of the calling scripts allocated stack size. ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getAllocatedStackSize(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")
- 11:15, 29 April 2024 Shr0x talk contribs created page Gameplay::getGroundZFor3DCoord2 (Created page with "{{ClientsideJsFunction}} {{JSContainer| Similar to Gameplay::getGroundZFor3dCoord but excludes objects that are on the floor. ===Required Params=== *'''x:''' {{RageType|float}} *'''y:''' {{RageType|float}} *'''z:''' {{RageType|float}} *'''waterAsGround:''' {{RageType|boolean}} *'''ignoreWaterLevelCheck:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|float}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getGroundZFor3DCoord2(x, y,...")
- 11:09, 29 April 2024 Shr0x talk contribs created page Gameplay::getFrameCount (Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns the number of frames ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getFrameCount(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const frameCount = mp.game.gameplay.getFrameCount(); mp.console.logInfo(`Your FPS is ${frameCount}`); </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API")
- 11:07, 29 April 2024 Shr0x talk contribs created page Gameplay::clearWeatherTypeOvertimePersist (Created page with "{{ClientsideJsFunction}} {{JSContainer| Clears any presisting weather, transition time is specified in ms. ===Required Params=== *'''transitionTime:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.clearWeatherTypeOvertimePersist(transitionTime); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.game.gameplay.clearWeatherTypeOvertimePersist(0); </syntaxhighlight> }...")
- 11:05, 29 April 2024 Shr0x talk contribs created page Gameplay::isMinigameInProgress (Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns true if a minigame is in progress, false otherwise. ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.isMinigameInProgress(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example")