Where can i find peds to add to this?
You can find them premade on forums here. Hereās one that I found and used in the example John Wick Ped for FiveM | Add-On | Under 16MB!
You can see how itās done so you can use any addon ped from gta5-mods.
is it possible to use this menu only for admins ?
Restricting opening the menu would not be secure as it is client side and hackers would be able to open the menu regardless.
But you can restrict all models for users by changing server.lua
if not restricted or IsPlayerAceAllowed(src, "pedmenu." .. model) then
to
if IsPlayerAceAllowed(src, "pedmenu") and (not restricted or IsPlayerAceAllowed(src, "pedmenu." .. model)) then
And now to be able to use any ped, players need the āpedmenuā ace. You can then give admins access to models with
add_ace group.admin pedmenu allow
And you can still restrict individual peds for individual admins as normal.
thanks! Have a nice weekend!
hey can someone help me to add addon peds ?
the following steps i did:
created a folder called ābatmanā, inside there is a resource.lua and a stream folder (inside there is a .ytd file)
i start this folder ābatmanā and its running
after i put the follwing line into the script:
Addons = {
{ābatmanā, āBatmanā, ānilā} ā example ped
}
but if i open the pedmenu i cant see my addon ped in category āaddonāā¦
You need a peds.meta file. Hereās one for a male ped, I just changed <Name> to batman.
peds.meta (2.4 KB)
You also need this in resource.lua
files {
'peds.meta'
}
data_file "PED_METADATA_FILE" "peds.meta"
thanks a lot man! it works!
you have a female peds.meta maybe too ?
Yes Please, that would be great!
How can i fix this ?
e this script paid and it doesnāt work
Hi, Is there any way to allow by ace command a specific category? And how can I do to allow everyone to use āoriginal PEDā to return to their character?
Thereās no way to restrict a category because you can restrict everything in the category. Everyone can already use the option to get their original skin.
So i have the K9 Ped , and can not change the vests these are the files , and will not let me change the components only lets me put vest on or off , would be nice to get it to change the skin , fur, and the vests of the PED.
Also any way you can make it easier to lock down the /ped menu and give perms by identifier as we only want a few people to have access to it and not just admins or even by discord role.
Also any way to turn the preview images off?
The permission system was made to be simple so thatās not possible.
To turn off images remove this line in client.lua
image = "nui://" .. GetCurrentResourceName() .. "/images/" .. imageName
Hello, this script was working perfect for me , but now i change to esx_legacy and is not working anymore, i have the dependency, but is not opening the menu, there is no errors, need help
good job bro
This resource doesnāt use esx, so the issue is somewhere else. Try going back to what you were using and see if it fixes the issue.