Nice script and like the ox_lib menu with previews. Is there a way you can force a ped on a player and that he cant use the pedmenu to switch back to the default models. Kinda bad in RP environment if someone can change is character in middle of a scene just to evade some consequences. That would be perfect just to add a check if pedmenu is available with a true or false in config and also to add an args to set the default ped to true on a players or force the first ped to be default by default when doing the admin command so he reconnect with the same peds without using or have acces to pedmenu.
3 Likes
I am getting an error "Script Error: @no1-playerped/client/main.lua:191: attempt to get length of a nil value (local âplayerpedsâ)
I am using the QBCore version
Any help would be appreciated Thank You!
which is this line of code:
if #playerpeds == 0 then
TriggerEvent(âno1-playerped:Notifyâ, locale(ânopedsâ), âerrorâ)
Will add it in the next update.
1 Like
How do I set the custom ped?
Hello dear, I loved the script that is in esx & qbcore, but I found the problem that in qbcore when using peds addon and then you want to restart your peds to your player it does not work I look forward to a next update!!
I cant reset to the non ped menu, im using illenium
that say me client main lua 108 attempt to index a nil value local input ?