Skip to content

Admin Jail, Community Service, Ban + Admin panel for list players.

Notifications You must be signed in to change notification settings

fivemland/fl_punishment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiveM Land Punishments - fl_punishment

Dependencies

Commands

Admin

  • /punishments - Open Admin panel with all punishments
  • /comserv [Target Player] [Count] [Reason] - Putting a player in community service
  • /removecomserv [TargetPlayer] - Remove player from community service
  • /ban [Target Player] [Days (0 - Infinity)] [Reason] - Ban player
  • /unban [Identifier / Character Name] - Revoke player ban
  • /adminjail [Target Player] [Minutes] [Reason] - Putting a player to jail
  • /unjail [Target Player] - Remove player from adminjail

Exports

Server

-- name: comserv or jail
-- returns: table
getPlayerPunishment(xPlayer, name)
-- admin: xPlayer or serverId
-- target: xPlayer or serverId
-- days: number (0 - infinity)
-- reason: string
-- returns: boolean
banPlayer(admin, target, days, reason)

Screenshots

1

2

3

4

5

6

78