NetworkClientBlocked

badSportPlayerLeftDetected

BAD_SPORT_PLAYER_LEFT_DETECTED0xEC5E3AF5289DCA81

The GTA V native BAD_SPORT_PLAYER_LEFT_DETECTED of the NETWORK namespace, as LS:MP client scripts call it: the global function badSportPlayerLeftDetected, in JavaScript and in Lua.

SignatureJavaScript
badSportPlayerLeftDetected(
  gamerHandle: null,
  event: number,
  amountReceived: number
): boolean
SignatureLua
badSportPlayerLeftDetected(
  gamerHandle: nil,
  event: integer,
  amountReceived: integer
): boolean
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Network NETWORK
In the game
BOOL BAD_SPORT_PLAYER_LEFT_DETECTED(Any* gamerHandle, int event, int amountReceived)
Hash
0xEC5E3AF5289DCA81

Open in the interactive natives reference