Jump to content
  • 0

Can i divide my server into two groups?


admagnus

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  33
  • Reputation:   2
  • Joined:  11/22/16
  • Last Seen:  

Hello, i want an NPC REGISTER to divide the WHOLE SERVER into two groups that can figth each other (pvp), is it possible?.

And if it is, can anyone give me an example on how to do it?

  • Upvote 1
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/06/13
  • Last Seen:  

You can do it easy with a variable, you can put a npc in the start with menu like

 

 

 

mes "Select a group please";

menu "Group 1",gr1,"Group 2",gr2;

gr1:



set group,1;

mes "Allright, you are in Group 1 now.";



close;



gr2:



set group,2;

mes "Allright, you are in Group 2 now.";



close;



}

 

 

 

Then u can send players to diferents maps with group variable, or anything u want divided in the groups

Edited by Serken
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  33
  • Reputation:   2
  • Joined:  11/22/16
  • Last Seen:  

22 hours ago, Serken said:

You can do it easy with a variable, you can put a npc in the start with menu like

 

 

 


mes "Select a group please";

menu "Group 1",gr1,"Group 2",gr2;

gr1:



set group,1;

mes "Allright, you are in Group 1 now.";



close;



gr2:



set group,2;

mes "Allright, you are in Group 2 now.";



close;



}

 

 

 

Then u can send players to diferents maps with group variable, or anything u want divided in the groups

Thank you very much, this is very useful, but, here is the thing, how do i active the pvp betwen this two groups permanently?.

Edited by admagnus
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/06/13
  • Last Seen:  

31 minutes ago, admagnus said:

Thank you very much, this is very useful, but, here is the thing, how do i active the pvp betwen this two groups permanently?.

For this i think u need to modify source ? but u can active PK mode and set a punishment if u kill someone of ur group (something like friendly fire) with  OnPCKillEvent

  • Love 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...