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
quick question
LoneWolf Offline
Senior Member

Posts: 308
Threads: 43
Joined: Sep 2010
Reputation: 0
#1
quick question

This comes up saying expected indentifier (356, 6)=

void switch(string &in asItem, string &in asEntity)
{


(rest isnt neccessary, says that the line, void switch... isnt identified right?).

What does this mean?

I have the void switch under a useitemcallback =

AddUseItemCallback("", "hammer", "lever1", "switch", true);



So the hammer is used on lever1 which activated the void switch. What is wrong with my void switch then?
(This post was last modified: 12-24-2010, 08:05 PM by LoneWolf.)
12-24-2010, 07:48 PM
Find


Messages In This Thread
quick question - by LoneWolf - 12-24-2010, 07:48 PM
RE: quick question - by Frontcannon - 12-24-2010, 08:00 PM
RE: quick question - by LoneWolf - 12-24-2010, 08:17 PM
RE: quick question - by Frontcannon - 12-24-2010, 09:06 PM
RE: quick question - by LoneWolf - 12-24-2010, 09:29 PM
RE: quick question - by xiphirx - 12-24-2010, 09:59 PM



Users browsing this thread: 1 Guest(s)