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
Why the hell does the combine not work?? :S
neocrawler Offline
Member

Posts: 57
Threads: 19
Joined: Sep 2011
Reputation: 1
#1
Why the hell does the combine not work?? :S

Why doesn't it remove the flasks?
void OnPickUpIngedient_4(string &in asEntity, string &in type)
{
AddLocalVarInt("Flask1", 1);
if (GetLocalVarInt("Flask1") == 4)
{
AddCombineCallback("", "flask01_cuprite_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
AddCombineCallback("", "flask01_aqua_regia_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
AddCombineCallback("", "flask01_calamine_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
AddCombineCallback("", "flask01_orpiment_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
}
}
void UseFlaskOnContainer(string &in asItemA, string &in asItemB)
{
RemoveItem("flask01_cuprite_1");
RemoveItem("flask01_aqua_regia_1");
RemoveItem("flask01_calamine_1");
RemoveItem("flask01_orpiment_1");
}
(This post was last modified: 07-19-2012, 08:14 PM by neocrawler.)
07-19-2012, 07:53 PM
Website Find


Messages In This Thread
Why the hell does the combine not work?? :S - by neocrawler - 07-19-2012, 07:53 PM



Users browsing this thread: 2 Guest(s)