App::appSetApp: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Called in the gamescripts like:<br>APP::APP_SET_APP('car');<br>APP::APP_SET_APP('dog');==Syntax==<syntaxhighlight lang="javascript">app.appSetApp(appName);</syntaxhighlight>=== Required Arguments ===*'''appName:''' String===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{App_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
Called in the gamescripts like:<br>APP::APP_SET_APP('car');<br>APP::APP_SET_APP('dog');
{{ClientsideCsJsFunction}}
{{JSContainer|
<syntaxhighlight lang="javascript">mp.game.app.appSetApp(appName);</syntaxhighlight>
 
{{Parameters}}
* '''appName:''' {{RageType|String}}
 
{{Example}}
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
}}
 
{{CSharpContainer|
<syntaxhighlight lang="csharp">RAGE.Game.App.AppSetApp(appName);</syntaxhighlight>
 
{{Parameters}}
* '''appName:''' {{RageType|string}}
 
{{Example}}
<syntaxhighlight lang="csharp">
// todo
</syntaxhighlight>
}}

Latest revision as of 11:11, 24 December 2022

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

Client-Side Function

 C#  JavaScript


JavaScript Syntax

mp.game.app.appSetApp(appName);

Parameters

  • appName: String

Example

// todo



C# Syntax

RAGE.Game.App.AppSetApp(appName);

Parameters

  • appName: string

Example

// todo