Skip to content

Skryptific/lm-staffduty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LM-DEVELOPMENT - Staff Duty

LM-DEVELOPMENT has released a free resource on GitHub called "Staff Duty" for FiveM servers that utilize TX-Admin. This resource provides an efficient way to manage and check the duty status of staff members.

Key Features

  • Integration with TX-Admin: The resource seamlessly works with TX-Admin, a popular management system for FiveM servers.

  • Simple Status Check: Both client and server can easily verify the duty status of a player.

  • Statebag-Based System: Utilizes FiveM's statebag system for efficient status updates.

Requirements

For the best experience, we recommend using the following versions or newer:

Use Cases

With this resource, server administrators can:

  1. Track the duty status of staff members.
  2. Assign specific functions or permissions to staff members who are on duty.
  3. Improve logging and monitoring of staff activities.

Code Examples

Client-side Check: (Not Recommended)

if LocalPlayer.state.isOnDuty then
    print("Hello World, I am on staff duty")
end

Server-side Check:

if Player(source).state.isOnDutythen
    print("Hello World, I am on staff duty")
end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%