_0xA90684ED185CCB4B
Only used in R* Script mob4 and rcm_mason4 _SET_PED_DEFENSIVE_* - _SET_PED_DESIRED_*
Hash
0xA90684ED185CCB4BRuntime name
N_0xa90684ed185ccb4bNamespacePED
SideClient
NameHash only
Docs
Since build1207
Signature
void _0xA90684ED185CCB4B(Ped animal, BOOL p1, float p2, float p3);Parameters
| Name | Type | Description |
|---|---|---|
animal | Ped | — |
p1 | BOOL | — |
p2 | float | — |
p3 | float | — |
Returns void
Description
Only used in R* Script mob4 and rcm_mason4
_SET_PED_DEFENSIVE_* - _SET_PED_DESIRED_*
Usage
N_0xa90684ed185ccb4b(animal, p1, p2, p3)
-- always works, by hash
Citizen.InvokeNative(0xA90684ED185CCB4B, animal, p1, p2, p3)JavaScript and C#
N_0xa90684ed185ccb4b(animal, p1, p2, p3);
// by hash
Citizen.invokeNative('0xA90684ED185CCB4B', animal, p1, p2 + 0.0000001, p3 + 0.0000001);Function.Call((Hash)0xA90684ED185CCB4B, animal, p1, p2, p3);- 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_0xa90684ed185ccb4b(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.