I've Attatched the File Here.
|
|

cant get the file![]()
I've Attatched the File Here.
I have the exact thing already done. This isn't yours, give credits.


i get 1 ERROR
helpCode:CommandHandler.java:18: ';' expected } ^ 1 error Satan's Isle Has Been Compiled SuccesFull ! Press any key to continue . . .
mastah
mastah put ; on line 17

If he put it on 18 wouldnt it be };
?

How can I add a item command? Please someone, post a example.

ok if you want to make an item command make it look like this:
and do not delete the p. before the additemif (command.equalsIgnoreCase("test"))
{
p.addItem(995, 123)
}
and add
after the { inclient p = (client) server.playerHandler.players[a];
making it look like this:public void CommandHandler(String command, int a)
{
so with the command it should look like this:public void CommandHandler(String command, int a)
{
client p = (client) server.playerHandler.players[a];
public void CommandHandler(String command, int a)
{
client p = (client) server.playerHandler.players[a];
if (command.equalsIgnoreCase("test"))
{
p.addItem(995, 123)
}
}
| « Change max combat level | Working Ring Of Recoil » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |