War3zuk Posted November 22, 2018 Share Posted November 22, 2018 I must of understood the coding wrong cos I cant get anything to load up from multiple lines of code lol.... Can anyone with a decent understanding of this explain whats wrong with the following code, Thanks.... <configs> <append xpath="/recipes"> <recipe name="Ammo Supply 9mm" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> </append> </configs> <configs> <append xpath="/recipes"> <recipe name="Ammo Supply 44Mag" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> </append> </configs> <configs> <append xpath="/recipes"> <recipe name="Ammo Supply 762mm" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> </append> </configs> <configs> <append xpath="/recipes"> <recipe name="Ammo Supply Shotgun" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> </append> </configs> <configs> <append xpath="/recipes"> <recipe name="Ammo Supply ShotgunSlug" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> </append> </configs> <configs> <append xpath="/recipes"> <recipe name="Ammo Supply 32mm" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> </append> </configs> Link to comment Share on other sites More sharing options...
RevenantWit Posted November 22, 2018 Share Posted November 22, 2018 I must of understood the coding wrong cos I cant get anything to load up from multiple lines of code lol.... Can anyone with a decent understanding of this explain whats wrong with the following code, Thanks.... You have too many configs tags for one and you should need only one append in this case try this <configs> <append xpath="/recipes"> <recipe name="Ammo Supply 9mm" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> <recipe name="Ammo Supply 44Mag" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> <recipe name="Ammo Supply 762mm" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> <recipe name="Ammo Supply Shotgun" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> <recipe name="Ammo Supply ShotgunSlug" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> <recipe name="Ammo Supply 32mm" count="1"> <ingredient name="Generic Ammo Supply" count="1"/> </recipe> </append> </configs> Link to comment Share on other sites More sharing options...
War3zuk Posted November 22, 2018 Author Share Posted November 22, 2018 Can you amend a small amount so I understand what you mean ? Link to comment Share on other sites More sharing options...
RevenantWit Posted November 22, 2018 Share Posted November 22, 2018 I added to my post above Link to comment Share on other sites More sharing options...
War3zuk Posted November 22, 2018 Author Share Posted November 22, 2018 Oooh haha totally ballsed that up... Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.