networkGetLastVelReceivedOverNetwork
NETWORK_GET_LAST_VEL_RECEIVED_OVER_NETWORK0x33DE49EDF4DDE77AThe GTA V native NETWORK_GET_LAST_VEL_RECEIVED_OVER_NETWORK of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetLastVelReceivedOverNetwork, in JavaScript and in Lua.
networkGetLastVelReceivedOverNetwork(
entity: Entity
): { x: number, y: number, z: number }networkGetLastVelReceivedOverNetwork(entity: Entity): Vector3Usage
JavaScript
const { x, y, z } = networkGetLastVelReceivedOverNetwork(entity);Lua
local coords = networkGetLastVelReceivedOverNetwork(entity)
-- coords.x, coords.y, coords.zParameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
Vector3 JavaScript { x: number, y: number, z: number }, Lua Vector3A 3D vector. JavaScript gets a plain { x, y, z } object; Lua gets a real Vector3, with .x .y .z and arithmetic. As an argument, one vector fills three consecutive coordinates.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Used by NetBlender
Reference
- Namespace
- Network NETWORK
- In the game
Vector3 NETWORK_GET_LAST_VEL_RECEIVED_OVER_NETWORK(Entity entity)- Hash
0x33DE49EDF4DDE77A- Introduced
- Game build 1103 legacy numbering
- Formerly
_NETWORK_GET_LAST_VELOCITY_RECEIVED