if(p.isDueling)
teleDisable = true;
|
People are able to type ::home while in a duel, this means that people stake, type ::home and run away wait for the person to log and win the duel.
is there something I can add to the home command, that checks if they're in a duel or not - Thanks. :jelly:
if(p.isDueling)
teleDisable = true;
src\server\model\players\packets\Commands.java:93: cannot find symbol
symbol : variable p
location: class server.model.players.packets.Commands
if(p.isDueling)
^
src\server\model\players\packets\Commands.java:94: cannot find symbol
symbol : variable teleDisable
location: class server.model.players.packets.Commands
teleDisable = true;
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
Press any key to continue . . .
Still getting an error
Could someone help please.Code:src\server\model\players\packets\Commands.java:100: cannot find symbol symbol : method isDueling() location: class server.model.players.Client if (c.isDueling()) ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .
Help anyone please?
post your teleport method
and your dueling file
Can someone help, by telling me what to do I work full time and don't have time to do this - It will be muchly appreciated and I'll tip ya $1
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |