taskStayInCover
TASK_STAY_IN_COVER0xE5DA8615A6180789The GTA V native TASK_STAY_IN_COVER of the TASK namespace, as LS:MP client scripts call it: the global function taskStayInCover, in JavaScript and in Lua.
taskStayInCover(ped: Ped): voidtaskStayInCover(ped: Ped)Usage
JavaScript
taskStayInCover(ped);Lua
taskStayInCover(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Makes the ped run to take cover
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_STAY_IN_COVER(Ped ped)- Hash
0xE5DA8615A6180789