New pages

New pages
Hide registered users | Show bots | Hide redirects
  • 18:06, 11 February 2026System::connectToServer (hist | edit) ‎[728 bytes]Shr0x (talk | contribs) (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 2026System::setConnectableServers (hist | edit) ‎[611 bytes]Shr0x (talk | contribs) (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 2026Object::disableGlow (hist | edit) ‎[432 bytes]Shr0x (talk | contribs) (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 2026Object::enableGlow (hist | edit) ‎[485 bytes]Shr0x (talk | contribs) (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 2026Object::modifyGlowStyle (hist | edit) ‎[601 bytes]Shr0x (talk | contribs) (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 2026Object::releaseGlowStyle (hist | edit) ‎[439 bytes]Shr0x (talk | contribs) (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 2026Object::createGlowStyle (hist | edit) ‎[594 bytes]Shr0x (talk | contribs) (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 2025PerformanceTimer::reset (hist | edit) ‎[288 bytes]Shr0x (talk | contribs) (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 2025PerformanceTimer::getElapsedUs (hist | edit) ‎[331 bytes]Shr0x (talk | contribs) (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 2025PerformanceTimer::getElapsedMs (hist | edit) ‎[321 bytes]Shr0x (talk | contribs) (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 2025PerformanceTimer::getElapsedSec (hist | edit) ‎[327 bytes]Shr0x (talk | contribs) (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 2025Gameplay::startPerformanceTimer (hist | edit) ‎[998 bytes]Shr0x (talk | contribs) (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 2025Player::getNearbyObjects (hist | edit) ‎[1,069 bytes]Shr0x (talk | contribs) (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 2025Player::getNearvyObjects (hist | edit) ‎[10 bytes]Shr0x (talk | contribs) (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:56, 25 December 2025Vehicle::modifyWheelBoneTransform (hist | edit) ‎[1,097 bytes]DevMarvin (talk | contribs) (Created page with "Note: Use wheelId 255 to modify all wheels at once ==Syntax== <syntaxhighlight lang="javascript">mp.game.vehicle.modifyWheelBoneTransform(wheelId, rotationX, rotationY, rotationZ, offsetX, offsetY, offsetZ);</syntaxhighlight> === Required Arguments === *'''wheelId:''' number *'''rotationX:''' number *'''rotationY:''' number *'''rotationZ:''' number *'''offsetX:''' number *'''offsetY:''' number *'''offsetZ:''' number ===Return value=== *'''undefined''' ==Example== <synta...")