ReplayEditorRequest

From RAGE Multiplayer Wiki
Revision as of 17:22, 8 July 2024 by Shr0x (talk | contribs) (Created page with "{{ClientsideJsEvent}} {{JSContainer| Triggered when a player attempt to launch rockstar's editor mode through pause menu. == Example == <pre> mp.events.add('replayEditorRequest', () => { mp.console.logWarning(`Player ${mp.players.local.name} is now entering on editor mode`); return true; //prevent the player to enter rockstar's editor mode. }) </pre> }} == See Also == {{Player_events_clientside}} Category:Clientside API Category:Client-side Event")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Event

 JavaScript



JavaScript Syntax

Triggered when a player attempt to launch rockstar's editor mode through pause menu.

Example

mp.events.add('replayEditorRequest', () => {
    mp.console.logWarning(`Player ${mp.players.local.name} is now entering on editor mode`);
    return true; //prevent the player to enter rockstar's editor mode.
})


See Also

Browser

Checkpoints

Colshapes

Console

Common

Damage

Vehicles

Voice chat

Streaming

Graphics

Waypoint

Misc