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
| Type | Description |
|---|---|
boolean | true if player is in FFA, false otherwise |
Example Usage
Exsample use cases
Disable Other Scripts
Disable Other Scripts
Disable certain features while player is in FFA:
Prevent Actions in FFA
Prevent Actions in FFA
Block certain actions while in FFA:
Get Current Game Mode
Get the current FFA game mode the player is in.Syntax
Returns
| Type | Description |
|---|---|
string or nil | Game mode name, or nil if not in FFA |
Possible Values
"ffa"- Free-for-all match"1v1"- 1v1 duel matchnil- Not in any match
Example Usage
Exsample use case
Mode-Specific Features
Mode-Specific Features
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
| Type | Description |
|---|---|
number | Total players in all FFA arenas |
Example Usage
Exsample use case
Command to show player count
Command to show player count
Show FFA activity on your server:
Need Help?
Common Issues
Check troubleshooting guide for more help
