Skip to main content

Overview

R_FFA provides exports for checking player status and getting player counts across all FFA arenas.

Client-Side Exports

Check if Player is in FFA

Check if the player is currently playing in an FFA arena.

Syntax

Returns

Example Usage

Exsample use cases

Disable certain features while player is in FFA:
Block certain actions while in FFA:

Get Current Game Mode

Get the current FFA game mode the player is in.

Syntax

Returns

Possible Values

  • "ffa" - Free-for-all match
  • "1v1" - 1v1 duel match
  • nil - Not in any match

Example Usage

Exsample use case

Enable different features based on game mode:

Server-Side Exports

Get Total Player Count

Get the total number of players across all FFA arenas.

Syntax

Returns

Example Usage

Exsample use case

Show FFA activity on your server:

Need Help?

Common Issues

Check troubleshooting guide for more help