_0x10F96086123B939F
NB_CUSTOM_CLIENT_ON_CREATE_COMPLETE - set legendary to not avoid prey
Hash
0x10F96086123B939FRuntime name
N_0x10f96086123b939fNamespacePED
SideClient
NameHash only
Docs
Since build1207
Signature
void _0x10F96086123B939F(Ped legendaryPed, Ped preyPed, float p2);Parameters
| Name | Type | Description |
|---|---|---|
legendaryPed | Ped | — |
preyPed | Ped | — |
p2 | float | — |
Returns void
Description
NB_CUSTOM_CLIENT_ON_CREATE_COMPLETE - set legendary to not avoid prey
Usage
N_0x10f96086123b939f(legendaryPed, preyPed, p2)
-- always works, by hash
Citizen.InvokeNative(0x10F96086123B939F, legendaryPed, preyPed, p2)JavaScript and C#
N_0x10f96086123b939f(legendaryPed, preyPed, p2);
// by hash
Citizen.invokeNative('0x10F96086123B939F', legendaryPed, preyPed, p2 + 0.0000001);Function.Call((Hash)0x10F96086123B939F, legendaryPed, preyPed, p2);- 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_0x10f96086123b939f(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.