TasksClient

getClipSetForScriptedGunTask

GET_CLIP_SET_FOR_SCRIPTED_GUN_TASK0x3A8CADC7D37AACC5

The GTA V native GET_CLIP_SET_FOR_SCRIPTED_GUN_TASK of the TASK namespace, as LS:MP client scripts call it: the global function getClipSetForScriptedGunTask, in JavaScript and in Lua.

SignatureJavaScript
getClipSetForScriptedGunTask(gunTaskType: number): string
SignatureLua
getClipSetForScriptedGunTask(gunTaskType: integer): string

Usage

JavaScript
const text = getClipSetForScriptedGunTask(gunTaskType);
Lua
local text = getClipSetForScriptedGunTask(gunTaskType)

Parameters

ParameterTypeJavaScriptLua
gunTaskTypeintnumberinteger

Returns

string JavaScript string, Lua string

Reference

Namespace
Tasks TASK
In the game
const char* GET_CLIP_SET_FOR_SCRIPTED_GUN_TASK(int gunTaskType)
Hash
0x3A8CADC7D37AACC5

Open in the interactive natives reference