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
Unexpected End in my code :c
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Unexpected End in my code :c

PHP Code: (Select All)
AddEntityCollideCallback("Player""ZoneCollide, "Dialogue", true, 1); 

There's a missing quote after ZoneCollide. You can easily tell because the color inverts for the whole script after that point.

PHP Code: (Select All)
void UseKeyOnDoor("Key1""Door1"

Constructors also should not have parameters like that. These should be
PHP Code: (Select All)
(string &in asItemstring &in asEntity

(This post was last modified: 01-20-2015, 07:23 PM by Mudbill.)
01-20-2015, 07:21 PM
Find


Messages In This Thread
Unexpected End in my code :c - by You So Russo - 01-20-2015, 07:00 PM
RE: Unexpected End in my code :c - by Mudbill - 01-20-2015, 07:21 PM
RE: Unexpected End in my code :c - by Mudbill - 01-20-2015, 09:44 PM
RE: Unexpected End in my code :c - by Mudbill - 01-20-2015, 10:17 PM
RE: Unexpected End in my code :c - by Daemian - 01-20-2015, 11:35 PM



Users browsing this thread: 4 Guest(s)