Skip to content

Kilichi/ks_peds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABOUT 🔨

Ks Peds is a script created in 2022 for ESX and QB, it allows you to manage ingame peds with a nice UI and a clean and simple code, to get the version of your framework go to the "releases" section.

INSTALATION 🚀

Run the insert.sql in your database

Put this line in your server.cfg

ensure ks_peds

ADMIN COMMANDS 🤖

These commands can only be used if you have administrator permissions on the server.

command : ks_peds
arguments : {
    function : (add | remove)
    id : (player id)
    ped: (ped what you want to add or remove ex: a_f_m_beach_01)
    type: (animal | ped)
    label: (name of the ped in menu)
}

USAGE ✋

  1. Add a ped
/ks_peds add id a_f_m_beach_01 ped example_ped
  1. Remove a ped
/ks_peds remove id a_f_m_beach_01
  1. Open ped menu
/PedMenu

CONFIGURATION 🛠️

  1. Config.AlloweRanks you can add more admin groups this is a example
Config.AlloweRanks = {
    'god',
    'superadmin',
    'admin',
    'ped_panarger'
    'mod'
}
  1. Config.Lang you can change the script language
Config.Lang = {
    NoPed = "You don't have peds now",
    AddedPed = "You added a ped ",
    To = " to the id ",
    HavePed = "This player haves the ped",
    RemovedPed = "Ped removed ",
    NoPermissions = "You don't have permissions to do this :)"
}
  1. Config.KeyMapping you can configure the open menu key
Config.KeyMapping = {
    Key = 'F9',
    Lang = 'Abrir menu ks peds'
}