Fiveguard Screenshot and Record Screen Command with Group Perms
Credits: https://github.com/UnrealMexd0x Fixxed by AliOG1337
- Command:
/record [ID] [Time in Sec]
- Description: Records the screen of the specified player for the given time in seconds.
- Command:
/screenshot [ID]
- Description: Captures a screenshot of the specified player's screen.
-
Use the
/record
command to initiate screen recording for a specific player. Provide the player's ID and the desired recording time in seconds as parameters. -
Use the
/screenshot
command to capture a screenshot of a specific player. Provide the player's ID as a parameter.
-
Ensure that the
Fiveguard
resource is correctly installed and available in your server. -
Copy the provided script into your server's resources folder.
-
Add the script to your server.cfg file:
start fg_screen_record
-
Adjust the configuration parameters in the script file according to your server's setup.
Config.RecordCommand
: The command for initiating screen recording.Config.ScreenCommand
: The command for capturing a screenshot.
-
Ensure that the
Fiveguard
resource is properly configured and functional for the anticheat features to work. -
Monitor the console for feedback messages on the success or failure of screen recording and screenshot actions.
-- Example usage of the record command
/record 1 60
-- Example usage of the screenshot command
/screenshot 1