Player::getCurrentScenarioId

From RAGE Multiplayer Wiki
Revision as of 04:40, 29 May 2024 by Shr0x (talk | contribs) (Created page with " {{ClientsideJsFunction}} {{JSContainer| Returns the scenario ID player is playing. ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.players.local.getCurrentScenarioId(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //to-do </syntaxhighlight> }} ==See also== {{Player_definition_c}} Category:Clientside API Category:TODO: Example")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

Returns the scenario ID player is playing.

Return value

  • number

Syntax

mp.players.local.getCurrentScenarioId();

Example

//to-do


See also