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
A question regarding a key script
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: A question regarding a key script

You've got an "AddUserItemCallback()", but the correct syntax is AddUseItemCallback(). Drop the "r" in Use. Furthermore, your void syntax for FUNCTION is wrong, though because I'm on mobile, I can't really remember it off the top of my head.

Though, based on your code, look back through this tutorial, again if necessary: https://wiki.frictionalgames.com/hpl2/tu...cks_a_door .

Whenever an error comes up, the error tells you what to look out for. The (3, 2) means that the error occurs on or before line 3, 2 characters across.

And also, you're allowed to post your raw code here from your text file Smile We don't offer a drop down menu, but you can use this:

[spoiler][php]Paste your code here.[/php][/spoiler]

Which will yield:

Spoiler below!
PHP Code: (Select All)
Paste your code here


Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 06-13-2016, 09:12 AM by Romulator.)
06-13-2016, 09:12 AM
Find


Messages In This Thread
A question regarding a key script - by k.okkim - 06-13-2016, 08:30 AM
RE: A question regarding a key script - by Romulator - 06-13-2016, 09:12 AM



Users browsing this thread: 1 Guest(s)