# GRAPHICS::START_PARTICLE_FX_NON_LOOPED_AT_COORD

- **Hash:** `0x2E80BF72EF7C87AC`
- **Namespace:** GRAPHICS
- **Runtime name (Lua/JS):** `StartParticleFxNonLoopedAtCoord`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/GRAPHICS/START_PARTICLE_FX_NON_LOOPED_AT_COORD

## Signature

```c
BOOL START_PARTICLE_FX_NON_LOOPED_AT_COORD(const char* effectName, float xPos, float yPos, float zPos, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis);
```

## Parameters

- `effectName` (`const char*`)
- `xPos` (`float`)
- `yPos` (`float`)
- `zPos` (`float`)
- `xRot` (`float`)
- `yRot` (`float`)
- `zRot` (`float`)
- `scale` (`float`)
- `xAxis` (`BOOL`)
- `yAxis` (`BOOL`)
- `zAxis` (`BOOL`)

## Returns

`BOOL`

## Description

https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua

## Usage

### Lua

```lua
local retval = StartParticleFxNonLoopedAtCoord(effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)

-- always available, by hash
local retval = Citizen.InvokeNative(0x2E80BF72EF7C87AC, effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = StartParticleFxNonLoopedAtCoord(effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis);

// by hash
const retval = Citizen.invokeNative('0x2E80BF72EF7C87AC', effectName, xPos + 0.0000001, yPos + 0.0000001, zPos + 0.0000001, xRot + 0.0000001, yRot + 0.0000001, zRot + 0.0000001, scale + 0.0000001, xAxis, yAxis, zAxis, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x2E80BF72EF7C87AC, effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: alloc8or RDR3 NativeDB.*
