# ieffects

## Functions:

### energy\_splash

`interfaces.ieffects.energy_splash(pos: vector, direction: vector, explosive: boolean)`

| Name          | Type          | Description |
| ------------- | ------------- | ----------- |
| **pos**       | **`vector`**  | -           |
| **direction** | **`vector`**  | -           |
| **explosive** | **`boolean`** | -           |

### smoke

`interfaces.ieffects.smoke(pos: vector, model_index: number, scale: number, framerate: number)`

| Name             | Type         | Description |
| ---------------- | ------------ | ----------- |
| **pos**          | **`vector`** | -           |
| **model\_index** | **`number`** | -           |
| **scale**        | **`number`** | -           |
| **framerate**    | **`number`** | -           |

### muzzle\_flash

`interfaces.ieffects.muzzle_flash(pos: vector, angles: vector, scale: number, type: number)`

| Name       | Type         | Description |
| ---------- | ------------ | ----------- |
| **pos**    | **`vector`** | -           |
| **angles** | **`vector`** | -           |
| **scale**  | **`number`** | -           |
| **type**   | **`number`** | -           |

### sparks

`interfaces.ieffects.sparks(pos: vector, magnitude: number, trail_length: number, direction: vector)`

| Name              | Type         | Description |
| ----------------- | ------------ | ----------- |
| **pos**           | **`vector`** | -           |
| **magnitude**     | **`number`** | -           |
| **trail\_length** | **`number`** | -           |
| **direction**     | **`vector`** | -           |

### dust

`interfaces.ieffects.dust(pos: vector, direction: vector, size: number, speed: number)`

| Name          | Type         | Description |
| ------------- | ------------ | ----------- |
| **pos**       | **`vector`** | -           |
| **direction** | **`vector`** | -           |
| **size**      | **`number`** | -           |
| **speed**     | **`number`** | -           |

### metal\_sparks

`interfaces.ieffects.metal_sparks(pos: vector, direction: vector)`

| Name          | Type         | Description |
| ------------- | ------------ | ----------- |
| **pos**       | **`vector`** | -           |
| **direction** | **`vector`** | -           |

### ricochet

`interfaces.ieffects.ricochet(pos: vector, direction: vector)`

| Name          | Type         | Description |
| ------------- | ------------ | ----------- |
| **pos**       | **`vector`** | -           |
| **direction** | **`vector`** | -           |
