I believe you should write sendMessage with a capital M.
If that doesn't solve, please post your .java file (only the part of the welcome message obviously)
|
BaseI
Problem: Error while compiling
Errors(Compiling Errors)ne
Other Information/Media(Pictures, etc):
How do I fix?
src\sever\model\players\client.java:726: ';' expected
sendmessage<"Welcome to SeaTurtleScape...">;
^
1 error
press any key to continue . . .
^thats my error i get after compilng
I believe you should write sendMessage with a capital M.
If that doesn't solve, please post your .java file (only the part of the welcome message obviously)
sendMessage("Welcome to SeaTurtleScape...");
//sendMessage("Everyone use the webclient at @red@http://soon to come/@red@.");
//sendMessage("Many new updates have been added use the real webclient to see them !.");
sendMessage("Updates: New Shops and Yaks Drops 5M. It's easy to make money now!");
sendMessage("PK items price's are very low!.");
I don't see nothing wrong there... That's only a fraction of the code, but it all seems fine.
Mine's like that:
Code:sendMessage("Welcome *************"); sendMessage("Owner - ******* Coder - ********* Head of Staff - ********!"); sendMessage("If you have any questions PM a Staff Member!"); sendMessage("There are currently "+PlayerHandler.getPlayerCount()+ " players online."); sendMessage("Do ::commands for info!");
Probably a capitalization problem.
But if i put two \\ before the sendmessage it just pushes the error to the next line of code
The \\ before the sendMessage (capitalize the M while coding, don't forget that) only disables the code.
For example:
sendMessage("Welcome to *******");
//sendMessage("This won't appear because it's disabled in the beggining");
Oh didnt know that... thanks but then why wont it work?
Did you re-check? Maybe you wrote something wrong... PM me your TV info if you can't fix it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |