SPAWNPOINTS_START_SEARCH
Hash
0x2DF9038C90AD5264Runtime name
SpawnpointsStartSearchNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2DF9038C90AD5264Signature
void SPAWNPOINTS_START_SEARCH(float x, float y, float z, float width, float p4, int spawnpointsFlag, float p6, int duration, float p8);Parameters
| Name | Type | Description |
|---|---|---|
x | float | — |
y | float | — |
z | float | — |
width | float | — |
p4 | float | — |
spawnpointsFlag | int | — |
p6 | float | — |
duration | int | — |
p8 | float | — |
Returns void
Description
Params: p4 = 35.f, duration = 5000 in R* Scripts
Usage
SpawnpointsStartSearch(x, y, z, width, p4, spawnpointsFlag, p6, duration, p8)
-- always works, by hash
Citizen.InvokeNative(0x2DF9038C90AD5264, x, y, z, width, p4, spawnpointsFlag, p6, duration, p8)JavaScript and C#
SpawnpointsStartSearch(x, y, z, width, p4, spawnpointsFlag, p6, duration, p8);
// by hash
Citizen.invokeNative('0x2DF9038C90AD5264', x + 0.0000001, y + 0.0000001, z + 0.0000001, width + 0.0000001, p4 + 0.0000001, spawnpointsFlag, p6 + 0.0000001, duration, p8 + 0.0000001);Function.Call((Hash)0x2DF9038C90AD5264, x, y, z, width, p4, spawnpointsFlag, p6, duration, p8);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.