Dlc2::isDlcPresent: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Example:<br>DLC2::IS_DLC_PRESENT($/mpbusiness2/);<br>($ = gethashkey)<br><br>bruteforce these:<br>0xB119F6D<br>0x96F02EE6
Example:<br>DLC2::IS_DLC_PRESENT($/mpbusiness2/);<br>($ = gethashkey)<br><br>bruteforce these:<br>0xB119F6D<br>0x96F02EE6
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">dlc2.isDlcPresent(DlcHash);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.dlc2.isDlcPresent(DlcHash);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''DlcHash:''' Model hash or name
*'''DlcHash:''' Model hash or name
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Dlc2_function_c}}
{{Dlc2_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:06, 6 May 2017

Example:
DLC2::IS_DLC_PRESENT($/mpbusiness2/);
($ = gethashkey)

bruteforce these:
0xB119F6D
0x96F02EE6

Syntax

mp.game.dlc2.isDlcPresent(DlcHash);

Required Arguments

  • DlcHash: Model hash or name

Return value

  • Boolean

Example

// todo

See also

Template:Dlc2 s function c