EntityClient

stopSynchronizedMapEntityAnim

STOP_SYNCHRONIZED_MAP_ENTITY_ANIM0x11E79CAB7183B6F5

The GTA V native STOP_SYNCHRONIZED_MAP_ENTITY_ANIM of the ENTITY namespace, as LS:MP client scripts call it: the global function stopSynchronizedMapEntityAnim, in JavaScript and in Lua.

SignatureJavaScript
stopSynchronizedMapEntityAnim(
  x1: number,
  y1: number,
  z1: number,
  x2: number,
  y2: any,
  z2: number
): boolean
SignatureLua
stopSynchronizedMapEntityAnim(
  x1: number,
  y1: number,
  z1: number,
  x2: number,
  y2: any,
  z2: number
): boolean

Usage

JavaScript
const result = stopSynchronizedMapEntityAnim(x1, y1, z1, x2, y2, z2);
Lua
local result = stopSynchronizedMapEntityAnim(x1, y1, z1, x2, y2, z2)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
const result = stopSynchronizedMapEntityAnim(pos1, x2, y2, z2);
Lua · with vectors
local result = stopSynchronizedMapEntityAnim(pos1, x2, y2, z2)

Parameters

ParameterTypeJavaScriptLua
x1floatnumbernumber
y1floatnumbernumber
z1floatnumbernumber
x2floatnumbernumber
y2Anyanyany
z2floatnumbernumber

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL STOP_SYNCHRONIZED_MAP_ENTITY_ANIM(float x1, float y1, float z1, float x2, Any y2, float z2)
Hash
0x11E79CAB7183B6F5

Open in the interactive natives reference