Hi everyone I need help with something
i get this error
fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\navideeah\desktop\maplestoryserver\maplestoryserver\mapleisland.cpp(350)' was matched
and i get the error around here
void NPCsScripts::npc_22000(NPC* npc){
int state = npc->getState();
int map = npc->getPlayerMap();
if(npc->getPlayerMap() == 0){
if(state == 0){
npc->addText("Hey hows it going, I'm Shanks, the Driver of this magnificent ship ");
npc->addText("Are you getting tired of this place, well I can take you out of here FOREVER!!");
npc->addText("Just a warning though, once you leave, you will enter the real world, and it is much harder to survive out there, trust me");
npc->sendYesNo();
}
else if(state == 1){
if(npc->getSelected() == YES){
npc->addText("Ok then, I'm going to get you out of this place, say goodbye to this place forever, and hey, dont forget to visit me.");
npc->sendNext();
}
else {
npc->addText("Are you positive you dont want to leave this place?");
npc->setState(npc->getState()+1);
npc->sendYesNo();
}
}
else if(state == 2){
npc->teleport(1);
npc->end();
}
else if(state == 3){
if(npc->getSelected() == NO){
npc->addText("Please talk to me once you can get a yes so I can take you out of here, I've got important things to do you know.");
npc->sendNext();
npc->end();
}
}
else if(state == 4){
npc->teleport(40000);
npc->end();
}
somewhere in there It gives me the error of
fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\navideeah\desktop\maplestoryserver\maplestoryserver\mapleisland.cpp(350)' was matched
if anyone knows what im missing and where it is post a reply because this is the only error I have and I would like to get it fixed
Thanks