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
Help with using ACID on a DOOR
Cetex1337 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Jun 2012
Reputation: 0
#1
Help with using ACID on a DOOR

So i'm trying to make a script where some acid from the inventory should break a door. The script so far looks like this:


PHP Code: (Select All)
void OnStart(){ AddUseItemCallback("""acid""acid_door"aciddoortrue);}
void aciddoor(string &in asItemstring &in asEntity){SetPropHealth("acid_door"0.0f);} 


But it wont let me do that, it says that its some wrong signature or something. I have checked everything, but i don't understand.
(This post was last modified: 06-20-2012, 04:28 PM by Cetex1337.)
06-20-2012, 04:27 PM
Find


Messages In This Thread
Help with using ACID on a DOOR - by Cetex1337 - 06-20-2012, 04:27 PM
RE: Help with using ACID on a DOOR - by JMFStorm - 06-20-2012, 05:25 PM
RE: Help with using ACID on a DOOR - by Cetex1337 - 06-20-2012, 07:35 PM
RE: Help with using ACID on a DOOR - by MaZiCUT - 06-20-2012, 08:55 PM
RE: Help with using ACID on a DOOR - by Apjjm - 06-20-2012, 09:39 PM



Users browsing this thread: 2 Guest(s)