-
-
Save Yiin/e85ece60f3f660b097a11238ff4ae026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// pakraunam container info iš failo į ram | |
Container_Load(Equipment, 1, "scriptfiles", "Test_ItemRemoval_2"); | |
// perkeliam itemą į kitą konteinerį | |
Container_AddItem(Player, 1, item); | |
// ištrinam itemą | |
DeleteItem(item); | |
// Itemo Equipment[2] neturėtų būti, tačiau jis ten tebėra, wtf | |
ASSERT(Container_GetItemAt(Equipment, 1, 0) == 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Item:item = CreateItem("test item"); | |
Container_AddItem(Equipment, 1, item); | |
Container_Save(Equipment, 1, "scriptfiles", "Test_ItemRemoval_2"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment