Guide

FiveM Event Executor Guide

Learn how to use the Susano Event Executor to trigger client and server events with custom payloads, including looping execution.

2 min read Susano team
FiveM Event Executor Guide

1: Overview

Event Executor allows you to manually trigger FiveM events by name and pass custom payload data. This is useful for testing, automation, and interacting with event-based systems.

You can execute events once or repeatedly using the built-in loop option.

Susano EventExecutor

1.1: Opening Event Executor

  1. Navigate to Event Executor.

2: Event Name

Event Name field defines which event will be triggered.

Example (DONT USE!)

esx:addInventoryItem

Event names are case-sensitive and must match the exact name used by the resource.

3: Payload

Payload field defines arguments passed to the event.

Payload Format

Payload must be written as a Lua-style array.

Examples

[] ['item_name', 1] [1, 'money', 1000]

  • Strings must be wrapped in quotes
  • Numbers do not need quotes
  • Empty brackets execute the event without arguments

3.1: Common Payload Mistakes

  • Missing brackets []
  • Using commas instead of Lua syntax
  • Forgetting quotes around strings
  • Passing arguments in the wrong order

Correct Example

['bread', 5]

Incorrect Example

'bread', 5

4: Executing an Event

After filling in the fields:

  • Click Execute to trigger the event once
  • The event will be sent immediately

If nothing happens, verify the event name and payload structure.

4.1: Loop Execution

Loop button repeatedly triggers the event until stopped.

  • Use loop for incremental events
  • Avoid looping heavy events unnecessarily
  • Stop the loop before changing payload values

5: Tips

  • Start with an empty payload [] to test if the event triggers
  • Use small values first when testing