Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mbag = {}
- ---
- -- This loads the textures. You can add as many
- -- as you want.
- function TestItemIcons.loadTextures()
- getTexture("Item_daypack.png");
- getTexture("Item_bugoutbag.png");
- getTexture("Item_rucksack.png");
- end
- ---
- -- This will add the item to the inventory for
- -- testing purposes.
- function TestItemIcons.giveItems()
- getSpecificPlayer(0):getInventory():AddItem("Item_rucksack.png");
- end
- Events.OnGameBoot.Add(TestItemIcons.loadTextures);
- Events.OnGameStart.Add(TestItemIcons.giveItems);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement