03-16-2013, 06:00 PM
I'm trying to combine the stone hammer with the stone chipper to get a crowbar. but I can't get the game to stop giving me a hammer and chipper as an item.
this is my inventory.hps file
can anyone help me on this?
this is my inventory.hps file
PHP Code:
void OnGameStart()
{
AddCombineCallback("crowbar", "stone_hammer_1", "stone_chipper_1", "makecrowbar", false);
}
void makecrowbar(string &in asItemA, string &in asItemB)
{
GiveItem("crowbar", "crowbar", "crowbar", "crowbar.tga", 1);
RemoveItem("stone_chipper_1");
}