Unexpected eof error

Started by RYaNrYe, Mon 28/07/2008 12:02:28

Previous topic - Next topic

RYaNrYe

I've looked over the script so many times but i can't see what i've done wrong  :-\

here's my script

// room script file


#sectionstart room_a  // DO NOT EDIT OR REMOVE THIS LINE
function room_a() {
  // script for Room: Player enters room (after fadein)
StartCutscene(eSkipESCOnly);
cEgo.Say("So What have we got on our hands here?");
cCapt.Say("28 year old male shot in the back");
cEgo.Say("Any leads on suspects");
cCapt.Say("Not at the moment but the victim was carrying this");
Wait(40);
cEgo.AddInventory(iabp);
cCapt.Say("It's a page from an address book you should check it out");
cEgo.Say("Thanks i'll do that)
EndCutscene();     
}
#sectionend room_a  // DO NOT EDIT OR REMOVE THIS LINE


can any1 see what i've done wrong???

DoorKnobHandle

Code: ags

cEgo.Say("Thanks i'll do that)

Missing closing " and ;

Khris

Yep, eof always means there's an open string somewhere.

RYaNrYe


SMF spam blocked by CleanTalk