networkFadeInEntity
NETWORK_FADE_IN_ENTITY0x1F4ED342ACEFE62DThe GTA V native NETWORK_FADE_IN_ENTITY of the NETWORK namespace, as LS:MP client scripts call it: the global function networkFadeInEntity, in JavaScript and in Lua.
networkFadeInEntity(entity: Entity, state: boolean, p2: any): voidnetworkFadeInEntity(entity: Entity, state: boolean, p2: any)Usage
JavaScript
networkFadeInEntity(entity, state, p2);Lua
networkFadeInEntity(entity, state, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
state | BOOL | boolean | boolean |
p2 | Any | any | any |
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.
state - 0 does 5 fades
state - 1 does 6 fades
p3: setting to 1 made vehicle fade in slower, probably "slow" as per networkFadeOutEntity
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_FADE_IN_ENTITY(Entity entity, BOOL state, Any p2)- Hash
0x1F4ED342ACEFE62D