the error is explaining itself...
error: method movePlayer in cla ss PlayerAssistant cannot be applied to given types;
required: int,int,int
found: int,int
|
Aight. I've been working all night on a safe multi Pvp area, but I can't get the teleports that teleport you back and forth from the arena to the entrance etc. to work. When I compile, I get this error.
It's probably something really simple, but I can't figure it out at this time. I don't know wut int. :#
Help plz?Code:src\server\model\players\ActionHandler.java:364: error: method movePlayer in cla ss PlayerAssistant cannot be applied to given types; c.getPA().movePlayer(3104, 9518); ^ required: int,int,int found: int,int reason: actual and formal argument lists differ in length src\server\model\players\ActionHandler.java:367: error: method movePlayer in cla ss PlayerAssistant cannot be applied to given types; c.getPA().movePlayer(3111, 9518); ^ required: int,int,int found: int,int reason: actual and formal argument lists differ in length 2 errors Press any key to continue . . .
Slow it down a step sir. I'm like falling asleep 'ere. I put it in the dang damn PlayerASsistant cuz that's what I thought it meant, but NOOOOOOOOOOOOO it got all butthurt and gave me more errors.
Know wut. Define dem ints for me so I can go home to americahhh
c.getPA().movePlayer(3104, 9518);
should probably be
c.getPA().movePlayer(3104, 9518, TYPEINHEIGHLEVELHERELOL);
i assume you can do that for the other method too. replace the text in caps-lock with a number.
jeheightlevel. yineedheighlevel. idgaf if im one story up or one story down
Aight. Well peace out nigah
Code:c.getPA().movePlayer(3104, 9518, 1);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |