getIsMoppingAreaFreeInFrontOfPlayer
GET_IS_MOPPING_AREA_FREE_IN_FRONT_OF_PLAYER0xDD2620B7B9D16FF1The GTA V native GET_IS_MOPPING_AREA_FREE_IN_FRONT_OF_PLAYER of the PLAYER namespace, as LS:MP client scripts call it: the global function getIsMoppingAreaFreeInFrontOfPlayer, in JavaScript and in Lua.
getIsMoppingAreaFreeInFrontOfPlayer(player: Player, p1: number): booleangetIsMoppingAreaFreeInFrontOfPlayer(player: Player, p1: number): booleanUsage
JavaScript
const result = getIsMoppingAreaFreeInFrontOfPlayer(player, p1);Lua
local result = getIsMoppingAreaFreeInFrontOfPlayer(player, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
p1 | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
2 occurrences in agency_heist3a. p1 was 0.7f then 0.4f.
Reference
- Namespace
- Player PLAYER
- In the game
BOOL GET_IS_MOPPING_AREA_FREE_IN_FRONT_OF_PLAYER(Player player, float p1)- Hash
0xDD2620B7B9D16FF1