There ya goif (playerCommand.equalsIgnoreCase("mypos") && c.playerRights >= 3) {
c.sendMessage("X: " + c.absX);
c.sendMessage("Y: " + c.absY);
}
|
can anyone help me code a mypos command into my server?
There ya goif (playerCommand.equalsIgnoreCase("mypos") && c.playerRights >= 3) {
c.sendMessage("X: " + c.absX);
c.sendMessage("Y: " + c.absY);
}
Why cant anyone just post a normal question that hasn't been asked, kid, if your asking for a mypos command you shouldnt be using an rsps.
keith some people who come into this section to help people would rather bash them then help. say they know it all when really they dont. this kid start in the same place as the rest of us. so to u S C A P E fuck off and u might aswell leave this section. and to the dude who helped me thanks alot bro. i used to do this shit but alot has changed since my day and i found the command in my commands but its not mypos its just pos.
"Its changed since my day". What it different? What? the code has been for same since the start of RSPS
Its always been the same, you send the packet with the information, the client interpretes and executes the code.Code:player.getPacketDispatch().sendMessage(player.getX() + " " + player.getY());
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |