setPoliceRadarBlips
SET_POLICE_RADAR_BLIPS0x43286D561B72B8BFThe GTA V native SET_POLICE_RADAR_BLIPS of the PLAYER namespace, as LS:MP client scripts call it: the global function setPoliceRadarBlips, in JavaScript and in Lua.
setPoliceRadarBlips(toggle: boolean): voidsetPoliceRadarBlips(toggle: boolean)Usage
JavaScript
setPoliceRadarBlips(toggle);Lua
setPoliceRadarBlips(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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.
If toggle is set to false:
The police won't be shown on the (mini)map
If toggle is set to true:
The police will be shown on the (mini)map
Reference
- Namespace
- Player PLAYER
- In the game
void SET_POLICE_RADAR_BLIPS(BOOL toggle)- Hash
0x43286D561B72B8BF