setEntitySortBias
SET_ENTITY_SORT_BIAS0x5C3B791D580E0BC2The GTA V native SET_ENTITY_SORT_BIAS of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntitySortBias, in JavaScript and in Lua.
setEntitySortBias(entity: Entity, p1: number): voidsetEntitySortBias(entity: Entity, p1: number)Usage
JavaScript
setEntitySortBias(entity, p1);Lua
setEntitySortBias(entity, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
p1 | float | number | number |
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.
Only called once in the scripts.
Related to weapon objects.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_ENTITY_SORT_BIAS(Entity entity, float p1)- Hash
0x5C3B791D580E0BC2