TasksClient

removeCoverBlockingAreasAtPosition

REMOVE_COVER_BLOCKING_AREAS_AT_POSITION0xFA83CA6776038F64

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

SignatureJavaScript
removeCoverBlockingAreasAtPosition(x: number, y: number, z: number): void
SignatureLua
removeCoverBlockingAreasAtPosition(x: number, y: number, z: number)

Usage

JavaScript
removeCoverBlockingAreasAtPosition(x, y, z);
Lua
removeCoverBlockingAreasAtPosition(x, y, z)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
removeCoverBlockingAreasAtPosition(pos);
Lua · with vectors
removeCoverBlockingAreasAtPosition(pos)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void REMOVE_COVER_BLOCKING_AREAS_AT_POSITION(float x, float y, float z)
Hash
0xFA83CA6776038F64
Introduced
Game build 1493 legacy numbering
Formerly
_REMOVE_COVER_BLOCKING_AREAS_AT_COORD

Open in the interactive natives reference