Jump to content
  • 0

PvP enable disable option


thryiks

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  05/24/14
  • Last Seen:  

Is there a way if the player type @pvp on he will be able to kill other player?

Also if the player is in pvp mode his level/exp will drop and the item he is wearing will drop too

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

you can try like this

http://upaste.me/r/4a37d4

 

but the equipments dropped are not ideal, you will need another source mod to make it drop an item that have refine rate / card inside it or simply another dropequip command.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

you can permit regular players to use @pvp on by changing things on conf/groups.conf

if he's on pvp mode, then he'll get level and exp drop and is raped (his eq got dropped)? that's cruel.

there's a way to do that. it's on basic npc scripting. I forget about scripts, but this is the steps:

 

1. create a floating npc

2. check, if player is on pvp

3. if yes, strip the player.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  05/24/14
  • Last Seen:  

what I mean is that player only need to type the command "@pvp on" before they can kill other people

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

yes. that's what I was talking about. change the atcommands on conf/groups.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  05/24/14
  • Last Seen:  

tnxx.. @ emistry where do i put that script?

is it possible if the player enable pvp mode they cannot logout like 30mins and they cannot move to a different map?

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