App::appSetApp: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
Line 1: Line 1:
Called in the gamescripts like:<br>APP::APP_SET_APP('car');<br>APP::APP_SET_APP('dog');
Called in the gamescripts like:<br>APP::APP_SET_APP('car');<br>APP::APP_SET_APP('dog');
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">app.appSetApp(appName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.app.appSetApp(appName);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''appName:''' String
*'''appName:''' String

Revision as of 21:03, 6 May 2017

Called in the gamescripts like:
APP::APP_SET_APP('car');
APP::APP_SET_APP('dog');

Syntax

mp.game.app.appSetApp(appName);

Required Arguments

  • appName: String

Return value

  • Undefined

Example

// todo

See also

Template:App s function c