_SET_MAX_WANTED_LEVEL_2
Hash
0xEA6DE0CD15AECBE2Runtime name
SetMaxWantedLevel_2NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_MAX_WANTED_LEVEL_2(int maxWantedLevel);Parameters
| Name | Type | Description |
|---|---|---|
maxWantedLevel | int | — |
Returns void
Usage
SetMaxWantedLevel_2(maxWantedLevel)
-- always works, by hash
Citizen.InvokeNative(0xEA6DE0CD15AECBE2, maxWantedLevel)JavaScript and C#
SetMaxWantedLevel_2(maxWantedLevel);
// by hash
Citizen.invokeNative('0xEA6DE0CD15AECBE2', maxWantedLevel);Function.Call((Hash)0xEA6DE0CD15AECBE2, maxWantedLevel);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.