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 trouble with combining items
PixelHurricane Offline
Junior Member

Posts: 24
Threads: 8
Joined: Jul 2012
Reputation: 0
#5
RE: trouble with combining items

ok, i removed the function for combining from jail.hps and put in into the inventory.hps it now looks like this.
PHP Code: (Select All)
void OnGameStart()
{
AddCombineCallback("""stone_hammer_1""stone_chipper""makecrowbar"false);
}
void makecrowbar(string &in asItemAstring &in asItemB)
{
GiveItem("crowbar""crowbar""crowbar""crowbar.tga"1);
RemoveItem("stone_chipper");

it still doesn't work though
(This post was last modified: 03-15-2013, 10:22 PM by PixelHurricane.)
03-15-2013, 06:23 PM
Find


Messages In This Thread
trouble with combining items - by PixelHurricane - 03-14-2013, 10:35 PM
RE: trouble with combining items - by NaxEla - 03-14-2013, 10:46 PM
RE: trouble with combining items - by PixelHurricane - 03-15-2013, 06:23 PM



Users browsing this thread: 1 Guest(s)