Pie015 Posted March 4, 2013 Share Posted March 4, 2013 Hello guys I ran into a problem, I guess it has an easy fix to it but who knows? Anyway my problem is that when I try to change a ped's components (clothes), the suggestion list doesn't have "Hats" in it. It has everything else like "LowerBody" and "UpperBody" and "Hair" but no hats. How come? I've tried over and over, trying to check which one is Hats but its not. How come? The list for Player.Character.Skin.Component.(insert something here) BagsEqualsFaceFeetGetHashCodeGetTypeHairHandHead <--- not hats btwItemJacketLowerBodyTeethToStringUpperBody Thank you in advance! Link to comment Share on other sites More sharing options...
Pie015 Posted March 5, 2013 Author Share Posted March 5, 2013 No reply? Come on, its not rocket science, someones gotta know about it? Link to comment Share on other sites More sharing options...
TheLastStarFighterOfPlanetXenon Posted March 5, 2013 Share Posted March 5, 2013 download my ped customizer and check the source to see how to change ped props http://www.gta4-mods.com/script/ped-customizer-f20124 Link to comment Share on other sites More sharing options...
Pie015 Posted March 7, 2013 Author Share Posted March 7, 2013 Thank you so much for that! Its PEDPROPS_0. This maybe a related question or maybe not but how do I change the player's model? Let's say to a NOOSE guy (M_Y_SWAT) in VB.NET script. I tried Player.ChangeModel("M_Y_SWAT") but that only works for C#, but I was wondering, would GTA IV read them the same way? Like Player.ChangeModel("M_Y_SWAT") in a VB.NET script would still be valid in GTA IV even though an error still shows up in Visual Studio about "ChangeModel" is not a member of "GTA.Player"? Thank you once again Link to comment Share on other sites More sharing options...
pedro2555 Posted March 8, 2013 Share Posted March 8, 2013 Thank you so much for that! Its PEDPROPS_0.This maybe a related question or maybe not but how do I change the player's model? Let's say to a NOOSE guy (M_Y_SWAT) in VB.NET script. I tried Player.ChangeModel("M_Y_SWAT") but that only works for C#, but I was wondering, would GTA IV read them the same way? Like Player.ChangeModel("M_Y_SWAT") in a VB.NET script would still be valid in GTA IV even though an error still shows up in Visual Studio about "ChangeModel" is not a member of "GTA.Player"? Thank you once again As Visual Studio says, ChangeModel is not a member of Player class, and therefore the compiler has no clue what to do with it. You can try natives thought, 'CHANGE_PLAYER_MODEL' being more specific. GTA.Native.Function.Call("CHANGE_PLAYER_MODEL", Player.Character, "model_hash"); 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