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 Using the GiveItem function?
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#5
RE: Using the GiveItem function?

Changed it to:

PHP Code: (Select All)
void FillContFunc (string &in asItemstring &in asEntity)
{
    
RemoveItem(asItem);
    
GiveItem("FullCont""glass_container_mix_done""glasscontainer_full""glass_container_mix_full.tga"1);


Still doesn't work. It doesn't give me an error or anything, it works to use the empty container but it doesn't return anything..

Nevermind! I'm stupid. I wrote "glass_container_mix_full.tga" but it was "glass_container_mix_done.tga". My bad. Works now.

Thank you very much.

Current - Castle Darkuan
Other - F*cked Map
(This post was last modified: 01-26-2012, 03:16 PM by Shadowfied.)
01-26-2012, 03:15 PM
Find


Messages In This Thread
Using the GiveItem function? - by Shadowfied - 01-26-2012, 02:34 PM
RE: Using the GiveItem function? - by palistov - 01-26-2012, 03:10 PM
RE: Using the GiveItem function? - by Shadowfied - 01-26-2012, 03:12 PM
RE: Using the GiveItem function? - by palistov - 01-26-2012, 03:15 PM
RE: Using the GiveItem function? - by Shadowfied - 01-26-2012, 03:15 PM
RE: Using the GiveItem function? - by palistov - 01-26-2012, 03:22 PM
RE: Using the GiveItem function? - by Shadowfied - 04-20-2012, 09:36 PM
RE: Using the GiveItem function? - by palistov - 04-20-2012, 10:58 PM
RE: Using the GiveItem function? - by DnALANGE - 07-23-2013, 02:28 AM



Users browsing this thread: 1 Guest(s)