Skip to main content

Player::getCurrentScenarioId

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

Client-side function

JavaScript​

Returns the scenario ID player is playing.

Return value​

  • number

Syntax​

mp.players.local.getCurrentScenarioId();

Example​

//to-do