Description: Returns true when investigation creation was successful
| Property | Value |
|---|---|
| Native Name | _CREATE_GUARD_ZONE_FOR_ENTITY |
| Hash | 0x0D4B77E862475ED3 |
| Return Type | BOOL |
| Build | 1311 |
| Parameters | guardZoneName (const char*), entity (Entity), x (float), y (float), z (float) |
Parameters
guardZoneName(const char*)entity(Entity)x(float)y(float)z(float)
Usage
Lua (Direct):
local result = CreateGuardZoneForEntity(guardZoneName, entity, x, y, z)
Lua (Hash):
local result = Citizen.InvokeNative(0x0D4B77E862475ED3, guardZoneName, entity, x, y, z)