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
Nothing happens
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#10
RE: Nothing happens

(03-27-2012, 06:52 PM)Your Computer Wrote:
(03-27-2012, 06:07 PM)SilentStriker Wrote: I found what's wrong with your code

it's (string &in item)

it's supposed to be (string &in asEntity)

Parameter names are irrelevant. You could have something like this:

PHP Code: (Select All)
void Function(string &inint)
{


and the engine won't complain about missing parameter variables.
Cool I just learn't something new Smile So when ever you use a callback you just write (string &in, int) and it should work? Smile



03-27-2012, 07:13 PM
Find


Messages In This Thread
Nothing happens - by Saren - 03-27-2012, 05:04 PM
RE: Nothing happens - by ClayPigeon - 03-27-2012, 05:17 PM
RE: Nothing happens - by Saren - 03-27-2012, 06:06 PM
RE: Nothing happens - by SilentStriker - 03-27-2012, 06:07 PM
RE: Nothing happens - by ClayPigeon - 03-27-2012, 06:22 PM
RE: Nothing happens - by Your Computer - 03-27-2012, 06:52 PM
RE: Nothing happens - by SilentStriker - 03-27-2012, 07:13 PM
RE: Nothing happens - by Your Computer - 03-27-2012, 07:49 PM
RE: Nothing happens - by SilentStriker - 03-27-2012, 07:51 PM
RE: Nothing happens - by Saren - 03-27-2012, 06:41 PM
RE: Nothing happens - by ClayPigeon - 03-27-2012, 06:48 PM
RE: Nothing happens - by Saren - 03-27-2012, 06:54 PM
RE: Nothing happens - by Saren - 03-27-2012, 09:32 PM
RE: Nothing happens - by Your Computer - 03-27-2012, 09:49 PM
RE: Nothing happens - by Saren - 03-27-2012, 09:54 PM



Users browsing this thread: 5 Guest(s)