User contributions for Shr0x
14 August 2024
- 10:2410:24, 14 August 2024 diff hist +576 N GameEvent:isShockingInSphere Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''eventType:''' {{RageType|number}} *'''x:''' {{RageType|number}} *'''y:''' {{RageType|number}} *'''z:''' {{RageType|number}} *'''radius:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.event.isShockingInSphere(eventType, x, y, z, radius) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighli..." current
- 10:2410:24, 14 August 2024 diff hist +525 N GameEvent:addShockingForEntity Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''eventType:''' {{RageType|number}} *'''entity:''' {{RageType|number}} *'''duration:''' {{RageType|number}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.event.addShockingForEntity(eventType, entity, duration) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameEvent_functions_c}} Ca..." current
- 10:2410:24, 14 August 2024 diff hist +582 N GameEvent:addShockingAtPosition Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''eventType:''' {{RageType|number}} *'''x:''' {{RageType|number}} *'''y:''' {{RageType|number}} *'''z:''' {{RageType|number}} *'''duration:''' {{RageType|number}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.event.addShockingAtPosition(eventType, x, y, z, duration) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntax..." current
- 10:2310:23, 14 August 2024 diff hist +472 N GameEvent:unblockDecisionMaker Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''name:''' {{RageType|number}} *'''eventType:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.event.unblockDecisionMaker(name, eventType) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameEvent_functions_c}} Category:Clientside API Category:TODO: Example" current
- 10:2310:23, 14 August 2024 diff hist +470 N GameEvent:blockDecisionMaker Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''name:''' {{RageType|number}} *'''eventType:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.event.blockDecisionMaker(name, eventType) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameEvent_functions_c}} Category:Clientside API Category:TODO: Example" current
- 10:2310:23, 14 August 2024 diff hist +478 N GameEvent:clearDecisionMakerResponse Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''name:''' {{RageType|number}} *'''eventType:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.event.clearDecisionMakerResponse(name, eventType) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameEvent_functions_c}} Category:Clientside API Category:TODO: Example" current
- 10:2310:23, 14 August 2024 diff hist +456 N GameEvent:setDecisionMaker Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''name:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.event.setDecisionMaker(ped, name) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameEvent_functions_c}} Category:Clientside API Category:TODO: Example" current
- 10:2010:20, 14 August 2024 diff hist +1,729 N Template:GameEvent functions c Created page with "*mp.game.event.setDecisionMaker *mp.game.event.clearDecisionMakerResponse *mp.game.event.blockDecisionMaker *mp.game.event.unblockDecisionMaker *mp.game.event.addShockingAtPosition *mp.game.event.addShockingForEntity *GameEvent:isShockingInSphere|mp.game.event.i..."
- 10:0110:01, 14 August 2024 diff hist +43 Client-side functions No edit summary
- 10:0010:00, 14 August 2024 diff hist +52 Client-side functions →Game Globals
- 09:5909:59, 14 August 2024 diff hist +451 N GameClock:getLocalTimeGmt Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|object}} ''' { year: number, month: number, day: number, hour: number, minute: number, second: number } ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getLocalTimeGmt() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5909:59, 14 August 2024 diff hist +493 N GameClock:setClockDate Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''day:''' {{RageType|number}} *'''month:''' {{RageType|number}} *'''year:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.setClockDate(day, month, year) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Catego..." current
- 09:5909:59, 14 August 2024 diff hist +509 N GameClock:addToClockTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''hours:''' {{RageType|number}} *'''minutes:''' {{RageType|number}} *'''seconds:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.addToClockTime(hours, minutes, seconds) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientsid..." current
- 09:5909:59, 14 August 2024 diff hist +507 N GameClock:advanceClockTimeTo Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''hour:''' {{RageType|number}} *'''minute:''' {{RageType|number}} *'''second:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.advanceClockTimeTo(hour, minute, second) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside..." current
- 09:5909:59, 14 August 2024 diff hist +418 N GameClock:pauseClock Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''toggle:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.pauseClock(toggle) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5909:59, 14 August 2024 diff hist +501 N GameClock:setClockTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''hour:''' {{RageType|number}} *'''minute:''' {{RageType|number}} *'''second:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.setClockTime(hour, minute, second) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API..." current
- 09:5909:59, 14 August 2024 diff hist +5 GameClock:getLocalTime No edit summary current
- 09:5809:58, 14 August 2024 diff hist +444 N GameClock:getLocalTime Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|object}} ''' { year: number;month: number;day: number;hour: number;minute: number;second: number; } ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getLocalTime() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example"
- 09:5809:58, 14 August 2024 diff hist +447 N GameClock:getUtcTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|object}} ''' { year: number; month: number; day: number; hour: number; minute: number; second: number; } ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getUtcTime() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5709:57, 14 August 2024 diff hist +80 GameClock:getPosixTime No edit summary current
- 09:5609:56, 14 August 2024 diff hist +369 N GameClock:getPosixTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|GetPosixTimeResult}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getPosixTime() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example"
- 09:5609:56, 14 August 2024 diff hist +373 N GameClock:getMillisecondsPerGameMinute Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getMillisecondsPerGameMinute() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5609:56, 14 August 2024 diff hist +352 N GameClock:getYear Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getYear() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5609:56, 14 August 2024 diff hist +353 N GameClock:getMonth Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getMonth() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5609:56, 14 August 2024 diff hist +358 N GameClock:getDayOfMonth Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getDayOfMonth() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5509:55, 14 August 2024 diff hist +357 N GameClock:getDayOfWeek Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getDayOfWeek() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5509:55, 14 August 2024 diff hist +488 N GameClock:setDate Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''day:''' {{RageType|number}} *'''month:''' {{RageType|number}} *'''year:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.setDate(day, month, year) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TO..." current
- 09:5509:55, 14 August 2024 diff hist +355 N GameClock:getSeconds Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getSeconds() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5509:55, 14 August 2024 diff hist +355 N GameClock:getMinutes Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getMinutes() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5509:55, 14 August 2024 diff hist +353 N GameClock:getHours Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.getHours() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5509:55, 14 August 2024 diff hist +504 N GameClock:addToTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''hours:''' {{RageType|number}} *'''minutes:''' {{RageType|number}} *'''seconds:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.addToTime(hours, minutes, seconds) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API..." current
- 09:5509:55, 14 August 2024 diff hist +502 N GameClock:advanceTimeTo Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''hour:''' {{RageType|number}} *'''minute:''' {{RageType|number}} *'''second:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.advanceTimeTo(hour, minute, second) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API..." current
- 09:5409:54, 14 August 2024 diff hist +413 N GameClock:pause Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''toggle:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.pause(toggle) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:5409:54, 14 August 2024 diff hist +496 N GameClock:setTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''hour:''' {{RageType|number}} *'''minute:''' {{RageType|number}} *'''second:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.clock.setTime(hour, minute, second) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{GameClock_functions_c}} Category:Clientside API Cat..." current
- 09:4909:49, 14 August 2024 diff hist +1,185 N Template:GameClock functions c Created page with "*mp.game.clock.setTime *mp.game.clock.pause *mp.game.clock.advanceTimeTo *mp.game.clock.addToTime *mp.game.clock.getHours *mp.game.clock.getMinutes *mp.game.clock.getSeconds *mp.game.clock.setDate *mp.game.clock.getDayOfWeek *GameClock:getDayOfMonth|mp.game..." current
- 09:2909:29, 14 August 2024 diff hist +36 Client-side functions added mp.game.replay
- 09:2809:28, 14 August 2024 diff hist +50 Client-side functions →Game Globals
- 09:2709:27, 14 August 2024 diff hist +3 Replay:isInteriorRenderingDisabled return value current
- 09:2609:26, 14 August 2024 diff hist +447 N Replay:isInteriorRenderingDisabled Created page with "{{ClientsideJsFunction}} {{JSContainer| Requires all scripts to clean up before the replay system can play back a clip. ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.replay.isInteriorRenderingDisabled() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Replay_functions_c}} Category:Clientside API Category:TODO: Example"
- 09:2409:24, 14 August 2024 diff hist +390 N Replay:resetEditorValues Created page with "{{ClientsideJsFunction}} {{JSContainer| Resets R* editor values, if any. ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.replay.resetEditorValues() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Replay_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:2309:23, 14 August 2024 diff hist +388 N Replay:activateRockstarEditor Created page with "{{ClientsideJsFunction}} {{JSContainer| Activates Rockstar editor ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.replay.activateRockstarEditor() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Replay_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:2209:22, 14 August 2024 diff hist +358 N Replay:continueTransition Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.replay.continueTransition() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Replay_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:2109:21, 14 August 2024 diff hist +412 N Replay:isEditorAvailable Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns true if editor is available, false if not. ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.replay.isEditorAvailable() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Replay_functions_c}} Category:Clientside API Category:TODO: Example" current
- 09:1909:19, 14 August 2024 diff hist +346 N Template:Replay functions c Created page with "*mp.game.replay.isInteriorRenderingDisabled *mp.game.replay.resetEditorValues *mp.game.replay.activateRockstarEditor *mp.game.replay.isEditorAvailable *mp.game.replay.continueTransition" current
- 08:5208:52, 14 August 2024 diff hist +71 Audio::hintScriptAudioBank params and format update current
13 August 2024
- 13:1813:18, 13 August 2024 diff hist +418 N VoiceChat.gameOutputCategory Created page with "{{ClientsideJsFunction}} {{JSContainer| Default value is set to 'mp.game.joaat('SPEECH_SCRIPTED')' ===Required Params=== *'''setter:''' {{RageType|hash}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.voiceChat.gameOutputCategory = setter; </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See Also== {{Voicechat}}" current
- 13:1613:16, 13 August 2024 diff hist +383 N VoiceChat.gameOutputEnabled Created page with "{{ClientsideJsFunction}} {{JSContainer| Disabled by default. ===Required Params=== *'''enable:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.voiceChat.gameOutputEnabled = enable; </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See Also== {{Voicechat}}" current
- 13:1513:15, 13 August 2024 diff hist −475 VoiceChat.defaultVolume →See Also
- 13:1513:15, 13 August 2024 diff hist −3 VoiceChat.muted →See Also current
- 13:1513:15, 13 August 2024 diff hist +27 VoiceChat.setPreprocessingParam see also current