SET_LAW_RESPONSE_DELAY_OVERRIDE
Hash
0xD2DFC9CCA5596A11Runtime name
SetLawResponseDelayOverrideNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xB45EFF719D8427A6Signature
void SET_LAW_RESPONSE_DELAY_OVERRIDE(float p0);Parameters
| Name | Type | Description |
|---|---|---|
p0 | float | — |
Returns void
Usage
SetLawResponseDelayOverride(p0)
-- always works, by hash
Citizen.InvokeNative(0xD2DFC9CCA5596A11, p0)JavaScript and C#
SetLawResponseDelayOverride(p0);
// by hash
Citizen.invokeNative('0xD2DFC9CCA5596A11', p0 + 0.0000001);Function.Call((Hash)0xD2DFC9CCA5596A11, p0);- 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.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.