App::appSetFloat: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ClientsideCsJsFunction}}
{{JSContainer|
<syntaxhighlight lang="javascript">mp.game.app.appSetFloat(property, value);</syntaxhighlight>


==Syntax==
{{Parameters}}
<syntaxhighlight lang="javascript">app.appSetFloat(property, value);</syntaxhighlight>
* '''property:''' {{RageType|String}}
=== Required Arguments ===
* '''value:''' {{RageType|Number}}
*'''property:''' String
 
*'''value:''' float
{{Example}}
===Return value===
*'''Undefined'''
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
}}
 
{{CSharpContainer|
<syntaxhighlight lang="csharp">RAGE.Game.App.AppSetFloat(property, value);</syntaxhighlight>
 
{{Parameters}}
* '''property:''' {{RageType|String}}
* '''value:''' {{RageType|float}}
 
{{Example}}
<syntaxhighlight lang="csharp">
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
}}
{{App_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Latest revision as of 16:21, 24 December 2022

Client-Side Function

 C#  JavaScript


JavaScript Syntax

mp.game.app.appSetFloat(property, value);

Parameters

  • property: String
  • value: Number

Example

// todo



C# Syntax

RAGE.Game.App.AppSetFloat(property, value);

Parameters

  • property: String
  • value: float

Example

// todo