START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY
Hash
0xE6CFE43937061143Runtime name
StartNetworkedParticleFxNonLoopedOnEntityNamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC95EB1DB6E92113DSignature
BOOL START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY(const char* effectName, Entity entity, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, float scale, BOOL axisX, BOOL axisY, BOOL axisZ);Parameters
| Name | Type | Description |
|---|---|---|
effectName | const char* | — |
entity | Entity | — |
offsetX | float | — |
offsetY | float | — |
offsetZ | float | — |
rotX | float | — |
rotY | float | — |
rotZ | float | — |
scale | float | — |
axisX | BOOL | — |
axisY | BOOL | — |
axisZ | BOOL | — |
Returns BOOL
Usage
local retval = StartNetworkedParticleFxNonLoopedOnEntity(effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE6CFE43937061143, effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = StartNetworkedParticleFxNonLoopedOnEntity(effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ);
// by hash
const retval = Citizen.invokeNative('0xE6CFE43937061143', effectName, entity, offsetX + 0.0000001, offsetY + 0.0000001, offsetZ + 0.0000001, rotX + 0.0000001, rotY + 0.0000001, rotZ + 0.0000001, scale + 0.0000001, axisX, axisY, axisZ, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xE6CFE43937061143, effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.