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
do something when item is picked up
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#1
do something when item is picked up

SetEntityPlayerInteractCallback("latern_1", "disablelatern", false);

and

void disablelatern(string &in asEntity)
{
SetEntityActive("latern_2", false);
}

doesn't work Sad

The Interrogation
Chapter 1

My tutorials
(This post was last modified: 08-19-2011, 12:50 AM by Elven.)
08-19-2011, 12:31 AM
Find


Messages In This Thread
do something when item is picked up - by Elven - 08-19-2011, 12:31 AM



Users browsing this thread: 1 Guest(s)