Foxtrot64 Posted July 13, 2015 Share Posted July 13, 2015 I've been spawning peds using the World.CreatePed(pedhas, loc); - this spawns the right model but it's a different variation of that model every time. Despite my best efforts, I can't find any code where this done. I don't mind specifying the model variants for each time that ped is created, or how to change after they've been created. Thanks. Link to comment Share on other sites More sharing options...
XBLToothPik Posted July 13, 2015 Share Posted July 13, 2015 I've been spawning peds using the World.CreatePed(pedhas, loc); - this spawns the right model but it's a different variation of that model every time. Despite my best efforts, I can't find any code where this done. I don't mind specifying the model variants for each time that ped is created, or how to change after they've been created. Thanks. Try CLONE_PED http://www.dev-c.com/nativedb/func/info/ef29a16337facadb Link to comment Share on other sites More sharing options...
Foxtrot64 Posted July 13, 2015 Author Share Posted July 13, 2015 Thanks, but I want to set the model variations/appearance instead of cloning the already random. Any ideas? Link to comment Share on other sites More sharing options...
Foxtrot64 Posted July 13, 2015 Author Share Posted July 13, 2015 (edited) Function.Call(Hash.SET_PED_DEFAULT_COMPONENT_VARIATION, ped) forces the ped into it's default state without being random. Solved, but I still have no idea how to change the variation of the torso/arms/extras etc. Edited July 13, 2015 by Foxtrot64 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now