The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help I'm trying to create a custom addcombinecallback combination
PixelHurricane Offline
Junior Member

Posts: 24
Threads: 8
Joined: Jul 2012
Reputation: 0
#1
I'm trying to create a custom addcombinecallback combination

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
PHP Code: (Select All)
void OnGameStart()
{
AddCombineCallback("crowbar""stone_hammer_1""stone_chipper_1""makecrowbar"false);
}
void makecrowbar(string &in asItemAstring &in asItemB)
{
GiveItem("crowbar""crowbar""crowbar""crowbar.tga"1);
RemoveItem("stone_chipper_1");

can anyone help me on this?
03-16-2013, 06:00 PM
Find


Messages In This Thread
I'm trying to create a custom addcombinecallback combination - by PixelHurricane - 03-16-2013, 06:00 PM



Users browsing this thread: 1 Guest(s)