C# HELP changing ped model

i have made a UI menu. i would like to change the player to for ex (Trevor or Cop). i can not seem to find a way to change it. I have tried ChangeModel() Please if anyone has found a way I would appreciate it. thank you

I don’t know much but I can give you maybe a tip before I pass out. I know in Lua you need to wait for the model to be loaded before setting the model. So maybe try waiting for the model to be loaded before setting the model for your player.

Night. Hope it helps.