Native referenceRedM

_IS_BACKGROUND_SCRIPT

0x20B7F69B40C6B755 SCRIPTS
FUNCTION SIGNATURE
BOOL _IS_BACKGROUND_SCRIPT(`threadId` (int));
Property Value
Native Name _IS_BACKGROUND_SCRIPT
Hash 0x20B7F69B40C6B755
Return Type BOOL
Build 1207
Parameters threadId (int)

Parameters

  • threadId (int)

Usage

Lua (Direct):

local result = IsBackgroundScript(threadId)

Lua (Hash):

local result = Citizen.InvokeNative(0x20B7F69B40C6B755, threadId)

Back to SCRIPTS