Posts: 239
Threads: 69
Joined: Jun 2011
I Do Not understand! So Heres Whats Happening This Line
Код:
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Thanks For Playing!");
print("--------------------------------------\n");
return 1;
}
Is Giving Me This Error
Код:
error 001: expected token: ";", but found "public"
Posts: 2,502
Threads: 26
Joined: Apr 2007
Reputation:
0
What's above this code snippet? You should try reading and understand the error, it is pretty self explanitory.
Posts: 239
Threads: 69
Joined: Jun 2011
Well Since i Wasnt Running Filterscript i thought, how about removeing that stuff. So i did and i got this error?
Код:
error 001: expected token: ";", but found "-identifier-"
Posts: 2,629
Threads: 40
Joined: Mar 2008
Reputation:
0
The line before the line with the error is missing a semi-colon as stated above.
Posts: 239
Threads: 69
Joined: Jun 2011
Thanks, yes it was a simple error, When the code was this
Код:
new RandomMSG[][] =
{
"Thank You For Playing At The Server! We Enjoy Your Stay!",
"Please No Hacking, We Will Warn Your If We Spot An Hacker!",
"Someone Is Hacking And No Admin Is Online? Please Report Them At The Fourms!"
}
I Clearly Forgot The ; at the end so now it looks like
Код:
new RandomMSG[][] =
{
"Thank You For Playing At The Server! We Enjoy Your Stay!",
"Please No Hacking, We Will Warn Your If We Spot An Hacker!",
"Someone Is Hacking And No Admin Is Online? Please Report Them At The Fourms!"
};
Thanks, Ill Start Reading the guide!