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
Can't get this script working
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#2
RE: Can't get this script working

Exception-handling needs to be covered in a wiki entry.

The example (47,2) is "Line 47, Character 2", but you really only need to look at the line to spot your typo.

If the map is simply not showing up, something is either wrong with where you placed your .cfg file, or something is wrong inside of it. I'm not sure if it will matter, but .MAP extension may be recognized as something different from the usual .map (Case may matter, but I'm not sure on that). Same goes for other extensions you may use (.hps, .cfg., jpg, etc.).

AddUseItemCallback("", "knifeone", doorthree", "buyone", true);
You are missing a "

It's a lot easier to catch when you are using Notepad++ with the language set to C#/C++, as it colors things.

Dark Seclusion Here
05-20-2012, 07:57 AM
Find


Messages In This Thread
Can't get this script working - by FaintedPhantom - 05-20-2012, 07:12 AM
RE: Can't get this script working - by FragdaddyXXL - 05-20-2012, 07:57 AM
RE: Can't get this script working - by Damascus - 05-20-2012, 08:42 AM



Users browsing this thread: 1 Guest(s)