MiscClient

setInstancePriorityHint

SET_INSTANCE_PRIORITY_HINT0xC5F0A8EBD3F361CE

The GTA V native SET_INSTANCE_PRIORITY_HINT of the MISC namespace, as LS:MP client scripts call it: the global function setInstancePriorityHint, in JavaScript and in Lua.

SignatureJavaScript
setInstancePriorityHint(flag: number): void
SignatureLua
setInstancePriorityHint(flag: integer)

Usage

JavaScript
setInstancePriorityHint(flag);
Lua
setInstancePriorityHint(flag)

Parameters

ParameterTypeJavaScriptLua
flagintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void SET_INSTANCE_PRIORITY_HINT(int flag)
Hash
0xC5F0A8EBD3F361CE
Formerly
_SET_UNK_MAP_FLAG

Open in the interactive natives reference