isWantedAndHasBeenSeenByCops
IS_WANTED_AND_HAS_BEEN_SEEN_BY_COPS0x7E07C78925D5FD96The GTA V native IS_WANTED_AND_HAS_BEEN_SEEN_BY_COPS of the PLAYER namespace, as LS:MP client scripts call it: the global function isWantedAndHasBeenSeenByCops, in JavaScript and in Lua.
isWantedAndHasBeenSeenByCops(player: Player): booleanisWantedAndHasBeenSeenByCops(player: Player): booleanUsage
JavaScript
const result = isWantedAndHasBeenSeenByCops(player);Lua
local result = isWantedAndHasBeenSeenByCops(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Player PLAYER
- In the game
BOOL IS_WANTED_AND_HAS_BEEN_SEEN_BY_COPS(Player player)- Hash
0x7E07C78925D5FD96- Introduced
- Game build 372 legacy numbering