Our Admin Menu have a feature that allows you to quickly take a screenshot of the player's view while spectating. If you want to use it, you need to follow a few additional steps.
1
Install dependencies
Resource
Link
screenshot-basic
fmsdk
2
Create Fivemanage Account
Go to the and create your account and workspace.
3
Go to the "Tokens" page
4
Generate API Key
5
Set the token in your server.cfg
Go to your server.cfg and make sure that everything is in the right order.
server.cfg
set FIVEMANAGE_MEDIA_API_KEY "PASTE_YOUR_TOKEN_HERE"
set FIVEMANAGE_LOGS_API_KEY "PASTE_YOUR_TOKEN_HERE"
ensure screenshot-basic
ensure fmsdk
ensure lc_adminmenu
6
(Optional) Set up the discord webhook
If you want to be able to take a look back at the screenshots you took, you can set up the discord webhook. Every time someone takes a screenshot, it will be uploaded there.
webhook_urls.lua
local urls = {
...,
screenshots = 'https://discord.com/api/webhooks/.......' -- Set your own webhook here
}