Gameplay::enableMpDlcMaps: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
Formerly known as _LOWER_MAP_PROP_DENSITY and wrongly due to idiots as _ENABLE_MP_DLC_MAPS.<br>Sets the maximum prop density and changes a loading screen flag from 'loading story mode' to 'loading GTA Online'. Does not touch DLC map data at all.<br><br>In fact, I doubt this changes the flag whatsoever, that's the OTHER native idiots use together with this that does so, this one only causes a loading screen to show as it reloads map data. | Formerly known as _LOWER_MAP_PROP_DENSITY and wrongly due to idiots as _ENABLE_MP_DLC_MAPS.<br>Sets the maximum prop density and changes a loading screen flag from 'loading story mode' to 'loading GTA Online'. Does not touch DLC map data at all.<br><br>In fact, I doubt this changes the flag whatsoever, that's the OTHER native idiots use together with this that does so, this one only causes a loading screen to show as it reloads map data. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">gameplay.enableMpDlcMaps(toggle);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.gameplay.enableMpDlcMaps(toggle);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''toggle:''' Boolean | *'''toggle:''' Boolean | ||
| Line 8: | Line 8: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Gameplay_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Revision as of 21:07, 6 May 2017
Formerly known as _LOWER_MAP_PROP_DENSITY and wrongly due to idiots as _ENABLE_MP_DLC_MAPS.
Sets the maximum prop density and changes a loading screen flag from 'loading story mode' to 'loading GTA Online'. Does not touch DLC map data at all.
In fact, I doubt this changes the flag whatsoever, that's the OTHER native idiots use together with this that does so, this one only causes a loading screen to show as it reloads map data.
Syntax
mp.game.gameplay.enableMpDlcMaps(toggle);
Required Arguments
- toggle: Boolean
Return value
- Undefined
Example
// todo