Player::playScenario: Difference between revisions

From RAGE Multiplayer Wiki
m (Replaced HTML with template)
 
(8 intermediate revisions by 4 users not shown)
Line 2: Line 2:


==Parameters==
==Parameters==
<pre>player.playScenario(scenarioName);</pre>
* '''scenario: <span style="color:#008017>String</span>'''
* '''scenario: <span style="color:#008017>String</span>'''


Line 14: Line 16:
{{ServersideCode|
{{ServersideCode|
<pre>
<pre>
// todo
player.playScenario("WORLD_HUMAN_PAPARAZZI");
</pre>
</pre>
}}
}}
This example will run an Paparazzi Scenario.


==See Also==
==See Also==
{{Player_block}}
{{Player_block}}
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 16:35, 16 October 2020

This function makes the player play a scenario. Scenario List

Parameters

player.playScenario(scenarioName);
  • scenario: String

Syntax

Server-Side
player.playScenario(scenario)

Example

Server-Side
player.playScenario("WORLD_HUMAN_PAPARAZZI");

This example will run an Paparazzi Scenario.

See Also