StreamingClient

setDitchPoliceModels

SET_DITCH_POLICE_MODELS0x42CBE54462D92634

The GTA V native SET_DITCH_POLICE_MODELS of the STREAMING namespace, as LS:MP client scripts call it: the global function setDitchPoliceModels, in JavaScript and in Lua.

SignatureJavaScript
setDitchPoliceModels(toggle: boolean): void
SignatureLua
setDitchPoliceModels(toggle: boolean)

Usage

JavaScript
setDitchPoliceModels(toggle);
Lua
setDitchPoliceModels(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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.

This is a NOP function. It does nothing at all.

Reference

Namespace
Streaming STREAMING
In the game
void SET_DITCH_POLICE_MODELS(BOOL toggle)
Hash
0x42CBE54462D92634

Open in the interactive natives reference