App::appSetApp: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
(One intermediate revision 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');
Called in the gamescripts like:<br>APP::APP_SET_APP('car');<br>APP::APP_SET_APP('dog');
==Syntax==
{{ClientsideCsJsFunction}}
<syntaxhighlight lang="javascript">app.appSetApp(appName);</syntaxhighlight>
{{JSContainer|
=== Required Arguments ===
<syntaxhighlight lang="javascript">mp.game.app.appSetApp(appName);</syntaxhighlight>
*'''appName:''' String
 
===Return value===
{{Parameters}}
*'''Undefined'''
* '''appName:''' {{RageType|String}}
==Example==
 
{{Example}}
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
}}
{{App_s_function_c}}
 
[[Category:Clientside API]]
{{CSharpContainer|
[[Category:TODO: Example]]
<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