[FREE] [ESX /QBCore] Player Ped

hey i need some help ive added it to my server but it keeps saying /setped isnt a command

Any errors on console?

i got it working but now i cant get add on peds to work

is there a tutorial to add peds to it?

this is the code i have {modelName = “greyhound”},

Hello, so I added this to our server but everytime I use the setped command all the weapons in the inventory of the player disappears. Only weapons though, other items like food/tools don’t disappear.

Hi, have you been able to solve this issue ?

Which issue?

All the weapons disappear when you’r using a ped, and this is really anoying me :c

Are you using esx legacy?

Yeah, fixed the issue. The loadout restores when you a set a new ped.

Bought a kid ped from someone here on CFX and the script keeps telling me invalid ped model … :confused:

image
image

1 Like

re name that kid ped to an existing GTA model that isnt used, like the superhero looking dude for example

1 Like

where is the SQL file?

it give me this error how can i fix?
“[ script:playerped] SCRIPT ERROR: @playerped/server/server.lua:67: attempt to index a boolean value (local ‘xPlayer’)
[ script:playerped] > ref (@es_extended/server/functions.lua:142)
[ script:es_extended] SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:479: attempt to concatenate a nil value (local ‘err’)”

What esx version do you use?

The last one

1 Like

heart Huge Update

  • Rewrite of whole script
  • Added QBCore framework compatibility
  • Uses ox_lib as a dependency

Thanks to all the people who gave me love in the thread even after a year and because of you the script stays alive and not dead!

1 Like

You are such a gigachad… <3

10/10