_0xB05CC690CDE8A4A9
Used to set up bad guy groups in nb_kidnapped R* Script (MP_RE_KIDNAPPED): p1 = 4.f _SET_FORMATION_*
Hash
0xB05CC690CDE8A4A9Runtime name
N_0xb05cc690cde8a4a9NamespacePED
SideClient
NameHash only
Docs
Since build1207
Signature
BOOL _0xB05CC690CDE8A4A9(int groupId, float p1);Parameters
| Name | Type | Description |
|---|---|---|
groupId | int | — |
p1 | float | — |
Returns BOOL
Description
Used to set up bad guy groups in nb_kidnapped R* Script (MP_RE_KIDNAPPED): p1 = 4.f
_SET_FORMATION_*
Usage
local retval = N_0xb05cc690cde8a4a9(groupId, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB05CC690CDE8A4A9, groupId, p1, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = N_0xb05cc690cde8a4a9(groupId, p1);
// by hash
const retval = Citizen.invokeNative('0xB05CC690CDE8A4A9', groupId, p1 + 0.0000001, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xB05CC690CDE8A4A9, groupId, p1);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason. - This native has no known name, so the runtime exposes it only as
N_0xb05cc690cde8a4a9(if present in the client snapshot).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.