TASK_STAND_GUARD
Hash
0xAE032F8BBA959E90Runtime name
TaskStandGuardNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xAE032F8BBA959E90Signature
void TASK_STAND_GUARD(Ped ped, float x, float y, float z, float heading, const char* scenarioName);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
x | float | — |
y | float | — |
z | float | — |
heading | float | — |
scenarioName | const char* | — |
Returns void
Usage
TaskStandGuard(ped, x, y, z, heading, scenarioName)
-- always works, by hash
Citizen.InvokeNative(0xAE032F8BBA959E90, ped, x, y, z, heading, scenarioName)JavaScript and C#
TaskStandGuard(ped, x, y, z, heading, scenarioName);
// by hash
Citizen.invokeNative('0xAE032F8BBA959E90', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001, heading + 0.0000001, scenarioName);Function.Call((Hash)0xAE032F8BBA959E90, ped, x, y, z, heading, scenarioName);- 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.