Image is tiny. Can you copy and paste the error?
|
commands error
guessing something to do with this?
if (c.playerRights >= 0)
playerCommands(c, playerCommand);
if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 4 || c.playerRights == 3)
ModeratorCommands(c, playerCommand);
if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
AdministratorCommands(c, playerCommand);
if (c.playerRights == 3 || c.playerRights == 4)
OwnerCommands(c, playerCommand);
if (c.playerRights == 4)
DonatorCommands(c, playerCommand);
}
Image is tiny. Can you copy and paste the error?
i reuploaded the picture
Dont double post.
other one was an accident...
What is with the bracket at the bottom of the code you posted?
not to sure, il just post this so u can see a bit bigger..
if (c.playerRights >= 0)
playerCommands(c, playerCommand);
if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 4 || c.playerRights == 3)
ModeratorCommands(c, playerCommand);
if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
AdministratorCommands(c, playerCommand);
if (c.playerRights == 3 || c.playerRights == 4)
OwnerCommands(c, playerCommand);
if (c.playerRights == 4)
DonatorCommands(c, playerCommand);
}
public void playerCommands(Client c, String playerCommand)
{
if(playerCommand.startsWith("withdraw")) {
String[] cAmount = playerCommand.split(" ");
There is an extra bracket somewhere...
hang on, i have more errors i ddint se one sec let me edit the thread
Alright I'll see what the problem is.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |