### Overview @everyone
SugoTrails is a particle effect system designed for FiveM that allows you to trigger and manage particle effects on various parts of a player's body, such as arms, feet, chest, and head. The system is optimized to ensure that effects are only visible to players within a 50-meter radius of the target. The system also includes a debugging feature to help you monitor and troubleshoot its functionality.
---
### SugoTrails - Particle Effect System Wiki
Welcome to the SugoTrails Wiki!
This guide will help you set up and use the particle effect system on your FiveM server, allowing you to easily trigger and manage effects on players’ arms, feet, chest, and head.
---
### Installation
- Place the resource in your resources folder.
- Add `ensure sugo_trails` to your `server.cfg`.
---
### Configuration
- Edit `config.lua` to toggle debug mode.
```lua
Config.Debug = true -- Debug messages on
Config.Debug = false -- Debug messages off
```
---
### Usage
TEST COMMANDS:
- `/start1` Lightning on hands
- `/start2` Flame on foot
STOP EFFECTS:
- `/stop1` Stop smoke on arms
- `/stop2` Stop sparks on feet
YOU ALSO HAVE CHEST AND HEAD! Just change it in the trigger.
---
### Example Triggers
```lua
TriggerServerEvent('sugo:trails', 'core', 'ent_sht_electrical_box_sp', 1.0, 255, 165, 0, true, 'foot')
```
Starts a spark effect on feet.
---
### Troubleshooting
- Particles not appearing? Double-check your settings and make sure you’re within range.
---
### SugoTrails - Wiki del Sistema di Effetti Particellari
Benvenuto nella Wiki di SugoTrails!
SugoTrails è un sistema di effetti particellari progettato per FiveM che ti consente di attivare e gestire effetti particellari su varie parti del corpo di un giocatore, come braccia, piedi, petto e testa. Il sistema è ottimizzato per garantire che gli effetti siano visibili solo ai giocatori entro un raggio di 50 metri dal bersaglio. Il sistema include anche una funzione di debug per aiutarti a monitorare e risolvere eventuali problemi.
Questa guida ti aiuterà a configurare e utilizzare il sistema di effetti particellari sul tuo server FiveM, permettendoti di attivare e gestire facilmente effetti su braccia, piedi, petto e testa dei giocatori.
---
### Installazione
- Inserisci la risorsa nella cartella `resources`.
- Aggiungi `ensure sugo_trails` al tuo `server.cfg`.
---
### Configurazione
- Modifica `config.lua` per attivare o disattivare la modalità debug.
```lua
Config.Debug = true -- Debug attivato
Config.Debug = false -- Debug disattivato
```
---
### Utilizzo
COMANDI DI TEST:
- `/start1` Fulmini sulle mani
- `/start2` Fiamma sui piedi
FERMA EFFETTI:
- `/stop1` Ferma il fumo sulle braccia
- `/stop2` Ferma le scintille sui piedi
HAI ANCHE PETTO E TESTA! Basta cambiarlo nel trigger.
---
### Esempio di Trigger
```lua
TriggerServerEvent('sugo:trails', 'core', 'ent_sht_electrical_box_sp', 1.0, 255, 165, 0, true, 'foot')
```
Attiva un effetto scintilla sui piedi.
---
### Risoluzione dei Problemi
- Le particelle non appaiono? Controlla le impostazioni e assicurati di essere nel raggio giusto.
---
**PREVIEW**: https://streamable.com/zyv706
