galzzy83 Posted July 4, 2021 Posted July 4, 2021 Hello guys ! I was wondering in C# client-side, I tried the CreatePed method but it doesn't seem to spawn a ped for me, what is the best way to do so with the freeroam skin and put clothes on it ? Thanks a lot
galzzy83 Posted July 5, 2021 Author Posted July 5, 2021 Ok I figured out how to spawn a ped for those who might be wondering down the line : RAGE.Elements.Ped myPed = new RAGE.Elements.Ped(0x705E61F2, new Vector3(-1099.7421f, -2739.808f, -7.4101357f), heading: -134.61028f, dimension: RAGE.Elements.Player.LocalPlayer.Dimension); Now, i'd like to know how to change his clothes and stuff like that ! I will search in the myPed object but if someone has the answer, would be appreciated. If I find it on my end i'll post it here. Thanks ! 1
TheOnlyDroid Posted July 6, 2021 Posted July 6, 2021 On 7/5/2021 at 1:06 AM, galzzy83 said: Ok I figured out how to spawn a ped for those who might be wondering down the line : RAGE.Elements.Ped myPed = new RAGE.Elements.Ped(0x705E61F2, new Vector3(-1099.7421f, -2739.808f, -7.4101357f), heading: -134.61028f, dimension: RAGE.Elements.Player.LocalPlayer.Dimension); Now, i'd like to know how to change his clothes and stuff like that ! I will search in the myPed object but if someone has the answer, would be appreciated. If I find it on my end i'll post it here. Thanks ! SetComponentVariation(int componentId, int drawableId, int textureId, int paletteId) I believe 1
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