User contributions for Shr0x
29 April 2024
- 15:5015:50, 29 April 2024 diff hist +1 Gameplay::getCoordsOfProjectileTypeInArea fixed return value current
- 15:4815:48, 29 April 2024 diff hist +807 N 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:4415:44, 29 April 2024 diff hist +728 N 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:4115:41, 29 April 2024 diff hist +1,037 N 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}}..." current
- 15:3615:36, 29 April 2024 diff hist +515 N 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..." current
- 15:3515:35, 29 April 2024 diff hist +531 N 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..." current
- 15:3415:34, 29 April 2024 diff hist +539 N 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..." current
- 15:3215:32, 29 April 2024 diff hist +530 N 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}}..." current
- 15:3115:31, 29 April 2024 diff hist +427 N 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" current
- 15:3015:30, 29 April 2024 diff hist +535 N 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..." current
- 15:2915:29, 29 April 2024 diff hist +381 N 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" current
- 15:2715:27, 29 April 2024 diff hist +437 N 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" current
- 15:2615:26, 29 April 2024 diff hist −1 Gameplay::waterOverrideFadeIn No edit summary current
- 15:2615:26, 29 April 2024 diff hist +483 N 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..." current
- 15:2515:25, 29 April 2024 diff hist +482 N 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:2415:24, 29 April 2024 diff hist +505 N 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..." current
- 15:2415:24, 29 April 2024 diff hist +436 N 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" current
- 15:2315:23, 29 April 2024 diff hist +441 N 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" current
- 15:2315:23, 29 April 2024 diff hist +441 N 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" current
- 15:2315:23, 29 April 2024 diff hist +438 N 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" current
- 15:2215:22, 29 April 2024 diff hist +473 N 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" current
- 15:2115:21, 29 April 2024 diff hist +473 N 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" current
- 15:2015:20, 29 April 2024 diff hist +466 N 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" current
- 15:2015:20, 29 April 2024 diff hist +475 N 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" current
- 15:1915:19, 29 April 2024 diff hist +478 N 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" current
- 15:1815:18, 29 April 2024 diff hist +478 N 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" current
- 15:1715:17, 29 April 2024 diff hist +474 N 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" current
- 12:1312:13, 29 April 2024 diff hist +75 Gameplay::acos No edit summary current
- 12:1012:10, 29 April 2024 diff hist −27 Gameplay::getGroundZFor3dCoord updated 'see also' current
- 12:0612:06, 29 April 2024 diff hist +101 Gameplay::getHeadingFromVector2d No edit summary current
- 12:0512:05, 29 April 2024 diff hist +158 Gameplay::getAngleBetween2dVectors No edit summary current
- 11:5711:57, 29 April 2024 diff hist +493 N 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..." current
- 11:5511:55, 29 April 2024 diff hist +503 N 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}}..." current
- 11:3711:37, 29 April 2024 diff hist +578 N Gameplay::setBeastModeActive beast)) current
- 11:3311:33, 29 April 2024 diff hist +893 N 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:..." current
- 11:2811:28, 29 April 2024 diff hist +504 N 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..." current
- 11:2711:27, 29 April 2024 diff hist +577 N 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..." current
- 11:2511:25, 29 April 2024 diff hist +423 N 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" current
- 11:2311:23, 29 April 2024 diff hist +497 N 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..." current
- 11:2111:21, 29 April 2024 diff hist +431 N 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" current
- 11:1511:15, 29 April 2024 diff hist +842 N 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,..." current
- 11:0911:09, 29 April 2024 diff hist +458 N 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" current
- 11:0711:07, 29 April 2024 diff hist +543 N 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> }..." current
- 11:0511:05, 29 April 2024 diff hist +429 N 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" current
- 11:0411:04, 29 April 2024 diff hist +441 N Gameplay::getFakeWantedLevel Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns the value that has been passed to Gameplay::setFakeWantedLevel ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getFakeWantedLevel(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example" current
- 11:0211:02, 29 April 2024 diff hist +395 N Gameplay::cancelOnscreenKeyboard Created page with "{{ClientsideJsFunction}} {{JSContainer| Cancels on screen keyboard ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.cancelOnscreenKeyboard(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example" current
- 11:0111:01, 29 April 2024 diff hist +436 N Gameplay::getOnscreenKeyboardResult Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the value that player has typed in screen keyboard input. ===Return value=== *''' {{RageType|string}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getOnscreenKeyboardResult(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example" current
- 10:5610:56, 29 April 2024 diff hist +615 N Gameplay::updateOnscreenKeyboard Created page with "{{ClientsideJsFunction}} {{JSContainer| Updates the system keyboard, and returns its status. This should be called every frame until a non pending status is returned. ==Keyboard states== <pre> enum KEYBOARD_STATE { INVALID = -1, PENDING, SUCCESS, CANCELLED, FAILED, } </pre> ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.updateOnscreenKeyboard(); </syntaxhighlight> ==Example== <syntaxhighlight l..." current
- 10:5010:50, 29 April 2024 diff hist +505 N Gameplay::getGravityLevel Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets current gravity level ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getGravityLevel(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const gravityLevel = mp.game.gameplay.getGravityLevel(); mp.console.logInfo(`Current gravity level is: ${gravityLevel}`); </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside AP..." current
- 10:4910:49, 29 April 2024 diff hist +111 Gameplay::setGravityLevel No edit summary current