TasksClient

taskCower

TASK_COWER0x3EB1FE9E8E908E15

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

SignatureJavaScript
taskCower(ped: Ped, duration: number): void
SignatureLua
taskCower(ped: Ped, duration: integer)

Usage

JavaScript
taskCower(ped, duration);
Lua
taskCower(ped, duration)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
durationintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void TASK_COWER(Ped ped, int duration)
Hash
0x3EB1FE9E8E908E15

Open in the interactive natives reference