How To Install
This is the guide for installing "Kyros Ped Menu"
Please carefully follow the installation guides step by step. If every instruction is followed correctly without skipping or making mistakes, you should not encounter any issues. However, if you do face any problems during installation, feel free to reach out to a support member by opening a support ticket in our Discord.
Where To Download
After purchasing from our Official website, the asset will be available for download in your Keymaster panel "Granted Assets". For issues with FiveM Escrow, account access, or asset startup errors, check here for solutions.
Works on:
Esx, Qbcore, Standalone
Step 1 - Open Config.lua
config = {}
config.discord = {
enabled = true,
token = '', -- Your discords bot token. (Make sure that it has administrator permissions) this should be a VERY LONG NUMBER
guild = '', -- The server's id the bot is in. (Make sure the bot is in the same discord) this should be a LONG NUMBER
role = '', -- NUMBER NOT NAME BTW DUMBASS :) The discord role of the donator/allowed player, ensure the value is "number" this should be a long number
refresh = { -- The command to refresh permissions. [ONLY THE ONES THAT HAVE THE ALLOWED ROLE IN DISCORD CAN USE THIS!]
enabled = true, -- Enable or Disable the refresh commmand?
command = 'pedrefresh', -- The command to refresh perms
cooldown = 10 -- The ammount of Seconds to wait between usage
}
}
config.peds = { -- As you add more peds to the menu, change the number on the left increasing.. example 1, 2, 3, 4
[1] = {label = '~b~BREAK DANCER', model = `a_m_y_breakdance_01`},
[2] = {label = '~b~SCARY MIME', model = `s_m_y_mime`},
-- [3] = {label = '~b~NAME OF PED', model = `spawn-name`},
-- [4] = {label = '~b~NAME OF PED', model = `spawn-name`},
-- [5] = {label = '~b~NAME OF PED', model = `spawn-name`},
}
-- EASY TO ADD ON MORE PEDS JUST ADD THEM TO YOUR SERVER RESOURCES THEN COPY PASTE THE LAST NUMBER OF THE PED LIST AND USE THE PEDS SAPWN CODE UNDER THE MODEL: TABLE --
--Example: [46] = {label = 'NAME', model = `SPAWNCODE`},
-------AVAILABLE COLORS-------
---- ~r~ :red
---- ~b~ :blue
---- ~y~ :yellow
---- ~c~ :grey
---- ~o~ :orange
---- ~p~ :purple
---- ~q~ :pink
---- ~l~ :black
---- ~d~ :bluedark
Step 2 - Discord Dev Portal
Create an Application via Discord Developer Portal (If you already have a bot, you can use that to)
On the left side panel, go to "Bot", then create a bot and obtain your discord token, paste your token into the config.lua of the pedmenu where it says
token = ''
inside you will place it Example token:MTEyMjM4NjYwODk1HjY1NzY4NA.GfTAQ1.ToDyyK0VUEXpYIft450xi3ofe3QP5Eis7hgl6c
Ex version.
token = 'MTEyMjM4NjYwODk1HjY1NzY4NA.GfTAQ1.ToDyyK0VUEXpYIft450xi3ofe3QP5Eis7hgl6c', -- Your discords bot token. (Make sure that it has administrator permissions) this should be a VERY LONG NUMBER
Step 3 - Adding bot to Server
On the bot category, scroll down to "Privileged Gateway Intents", from there turn on the following 3 [ View Example ]
Presence Intent
Server Members Intent
Message Content Intent
Go to the left side panel again, and go to the category "OAuth2", from there scroll down to the
OAuth2 URL Generator
section below that will be "SCOPES" under that on the right side down 3 it will say "bot" click it.Then scroll down and select "Administrator" (The first one), then scroll to the bottom and copy / paste the Generated URL into your browser to invite the bot to your discord server of Choice.
Step 4 - Enable Developer Mode
( User Settings --> Advanced --> Developer Mode )
Step 5 - Create Ped Role
Go to discord server and create a new role ex: "Ped Access" then copy right click the role and it will say "Copy Role ID" after paste that id in the config.lua in role = ''
Ex Version.
role = '1074214614788751371', -- The discord role of the donator/allowed player, ensure the value is "number" this should be a long number
Step 6 - Move bot role & Perms
Make sure you move the bot role above the role you just made previously and make sure the bot has Administrator Perms.
Step 7 - Copy Server ID
Right click on your discord server's icon, and press "Copy ID", this will copy your guilds unique server id.
Example Id: 3074262846671392657
Step 8 - Paste into Config.lua
Past the id you just got in-between the 'paste-id' Example: guide = 3074262846671392657
guild = '', -- The server's id the bot is in. (Make sure the bot is in the same discord) this should be a LONG NUMBER
Ex Version.
guild = '3074262846671392657', -- The server's id the bot is in. (Make sure the bot is in the same discord) this should be a LONG NUMBER
Make sure everything's right by seeing this Screenshot in your server console with your discord name instead.
End Of Installation🎉
You have earned One Golden Star
Last updated