Native referenceRedM

_CREATE_GUARD_ZONE_FOR_ENTITY

0x0D4B77E862475ED3 LAW
FUNCTION SIGNATURE
BOOL _CREATE_GUARD_ZONE_FOR_ENTITY(`guardZoneName` (const char*), `entity` (Entity), `x` (float), `y` (float), `z` (float));

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)

Back to LAW