NetworkClient

networkFadeOutEntity

NETWORK_FADE_OUT_ENTITY0xDE564951F95E09ED

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

SignatureJavaScript
networkFadeOutEntity(entity: Entity, normal: boolean, slow: boolean): void
SignatureLua
networkFadeOutEntity(entity: Entity, normal: boolean, slow: boolean)

Usage

JavaScript
networkFadeOutEntity(entity, normal, slow);
Lua
networkFadeOutEntity(entity, normal, slow)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
normalBOOLbooleanboolean
slowBOOLbooleanboolean

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.

normal - transition like when your coming out of LSC
slow - transition like when you walk into a mission

Reference

Namespace
Network NETWORK
In the game
void NETWORK_FADE_OUT_ENTITY(Entity entity, BOOL normal, BOOL slow)
Hash
0xDE564951F95E09ED

Open in the interactive natives reference