Native referenceRedM

SHIFT_LEFT

0xEDD95A39E5544DE8 BUILTIN
FUNCTION SIGNATURE
int SHIFT_LEFT(int value, int bitShift);
Property Value
Native Name SHIFT_LEFT
Hash 0xEDD95A39E5544DE8
Return Type int
Build 1207
Parameters value (int), bitShift (int)

Description: Left bit shifts a value. It is advised you use the << operator instead of this native. It does the same and is faster.

Usage

Lua (Direct):

local result = ShiftLeft(value, bitShift)

Lua (Hash):

local result = Citizen.InvokeNative(0xEDD95A39E5544DE8, value, bitShift)
Back to BUILTIN