Jump to content
  • 0

how can i add a restriction to PK mode.


admagnus

Question


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

Hi veterans of rathena!, i need your help once more!

I really want to add a restriction to the PK mode and i want your help guys, so, in order to understand me, i'm going to explain the context of what i did and what i want to do... What just i did is that i divided my server into two groups with an npc register setting simple variables like "group1" and "group2", and then i turn on the pk mode. What i want is modify the source code (with your help), so the player's can't hit player's that are in the same group... is that posible?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  832
  • Reputation:   317
  • Joined:  02/11/19
  • Last Seen:  

55 minutes ago, admagnus said:

Hi veterans of rathena!, i need your help once more!

I really want to add a restriction to the PK mode and i want your help guys, so, in order to understand me, i'm going to explain the context of what i did and what i want to do... What just i did is that i divided my server into two groups with an npc register setting simple variables like "group1" and "group2", and then i turn on the pk mode. What i want is modify the source code (with your help), so the player's can't hit player's that are in the same group... is that posible?

they have already told you what you need for this. Please do not create several topics asking the same.

This is the closest to what you need.

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:  

3 minutes ago, Mael said:

they have already told you what you need for this. Please do not create several topics asking the same.

This is the closest to what you need.

sorry, my mistake...

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...