Jump to content
  • 0

java command set a player clan


Question

Posted

hello mxc forum :)

can anyone help me to create a command in java or to use if exisiting , to make a character set to a clan ?

i don't know if it's possible but i have an example

 

"        int _nameColor0 = 0xFFFFFF; 

               _Player.getAppearance().setNameColor(_nameColor0);        "

this makes the character to get name color white ,

can someone tell me how i can make the character to set into a clan , clan id that i want to ?

im trying this way Player.setClan(268436844); 

268436844 is clanid in database , but i think i miss something 

 

3 answers to this question

Recommended Posts

  • 0
Posted

acis382 ->RequestAnswerJoinPledge.java line 48 and below (ignore the onRequestResponse part since you are forcing this). As for the clan to join, either put an argument on your bypass and parse it's id/name (using ClanTable#getClan or ClanTable#getClanByName) or get the whole clan list from ClanTable, display it into an npchtmlmessage (using a pagination ofc)

Guest
This topic is now closed to further replies.


×
×
  • Create New...