Guest Posted April 29, 2017 Share Posted April 29, 2017 (edited) Does any experienced coder see anything out of the ordinary here? Cause every time I try to apply this, it just crashes. Other codes for different clothing seem to work just fine. 0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 0 0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 1 Player.SetClothes($PLAYER_CHAR, "CHINOSBIEGE", "CHINOSB", Legs) Player.SetClothes($PLAYER_CHAR, "BALDGOATEE", "BALD", Head) Player.SetClothes($PLAYER_CHAR, "FOOT", "BAREFEET", Shoes) Player.SetClothes($PLAYER_CHAR, "9HOMEBOY", "9HOMEBOY", 9) 062A: change_float_stat 21 to 1000.0 Player.Build($PLAYER_CHAR) All I know is that this code works only after the appliance of another set of clothes, but a hat from the previous one is still on CJ's head. So I'm assuming it has something got to do with hats. I cannot get him bald! EDIT: The problem was in the following code! Player.SetClothes($PLAYER_CHAR, "BALDGOATEE", "BALD", Head) "BALD" should have been "HEAD" Edited April 29, 2017 by Guest Link to comment Share on other sites More sharing options...
Sanmodder Posted December 26, 2017 Share Posted December 26, 2017 Does any experienced coder see anything out of the ordinary here? Cause every time I try to apply this, it just crashes. Other codes for different clothing seem to work just fine. 0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 0 0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 1 Player.SetClothes($PLAYER_CHAR, "CHINOSBIEGE", "CHINOSB", Legs) Player.SetClothes($PLAYER_CHAR, "BALDGOATEE", "BALD", Head) Player.SetClothes($PLAYER_CHAR, "FOOT", "BAREFEET", Shoes) Player.SetClothes($PLAYER_CHAR, "9HOMEBOY", "9HOMEBOY", 9) 062A: change_float_stat 21 to 1000.0 Player.Build($PLAYER_CHAR) All I know is that this code works only after the appliance of another set of clothes, but a hat from the previous one is still on CJ's head. So I'm assuming it has something got to do with hats. I cannot get him bald! EDIT: The problem was in the following code! Player.SetClothes($PLAYER_CHAR, "BALDGOATEE", "BALD", Head) "BALD" should have been "HEAD" 0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 0 0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 1 Player.SetClothes($PLAYER_CHAR, "CHINOSBIEGE", "CHINOSB", Legs) //succes Player.SetClothes($PLAYER_CHAR, "BALDGOATEE", "BALD", Head) //error Player.SetClothes($PLAYER_CHAR, "FOOT", "BAREFEET", Shoes) //error Player.SetClothes($PLAYER_CHAR, "9HOMEBOY", "9HOMEBOY", 9) //error 062A: change_float_stat 21 to 1000.0 Player.Build($PLAYER_CHAR) it should be ------------------------------------------------------------------ Player.SetClothes($PLAYER_CHAR, "BALDGOATEE", "HEAD", Head) Player.SetClothes($PLAYER_CHAR, "BALD", "HEAD", Head) ------------------------------------------------------------------ //BAREFEET ///not fund //9HOMEBOY // not fund 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