Skelebob Administrator
Posts : 8 Join date : 2009-07-25
| Subject: Spot the Errors. Wed Jul 29, 2009 2:05 pm | |
| You are trying to give someone Moderator, and you put in a code but it doesnt work, you get 100 errors. Try and figure out why Your Code - Code:
-
if(cmd[1].equals("givemod")) { if(username.equalsIgnoreCase("Skelebob"))) { for(Player pl : Engine.players) { pl.rights = 2; p.frames.sendMessage(pl, "You are now a mod";) } } else { sendMessage("You're a gay, +p.username+"); } } frames.sendMessage(pl, "p.username +" is now a mod!); }
If you get it right, if you at some point in time join my server, u can have Player Mod for free | |
|
Shadowkilla Administrator
Posts : 17 Join date : 2009-07-25
| Subject: Re: Spot the Errors. Thu Jul 30, 2009 1:38 am | |
| lol ill let the noobies figure it out easy. lol | |
|
cakeman
Posts : 3 Join date : 2009-07-26
| Subject: Re: Spot the Errors. Mon Aug 03, 2009 1:04 am | |
| brakets? to many? and else isn't supost to be there? | |
|
Sponsored content
| Subject: Re: Spot the Errors. | |
| |
|