Jump to content
  • 0

Request PVP Script + MMR-like


Question

Posted (edited)

Good day to all!

 

I do have a request if ever possible.

 

This PVP Script request is like a Rank system as you may know in Dota2/League of Legends. So shall I begin?

 

 

PVP Script:

 

• There are 2 rooms (ability to add more rooms..)

- Free for All

- No Potions

 

• PVP Script Function:

- If a player get 1 killed, +20 points. 

- if a player died, -20 points.

- if a player reached less than 20 points or 0, the player who will kill him will get no points. (to avoid feeding points).

 

• PVP Ladder

- Maybe a top 10 or 20 players with their current points.

 

Hopefully, someone can post or help this script. /no1 Thanks a lot! /thx

Edited by Jezu

4 answers to this question

Recommended Posts

  • 0
Posted

2.

-	script	Sample#pvp_mmr	-1,{

	OnPCDieEvent:
		if ( getcharid(3) != killerrid && PVP_POINTS > 0 ) {
			.@amount = (( PVP_POINTS < 20 ) ? PVP_POINTS : 20 );
			if ( .@amount ) {
				PVP_POINTS -= .@amount;
				dispbottom "You lose "+.@amount+" Point(s).";
			}
			if ( attachrid( killerrid ) ) {
				PVP_POINTS += .@amount;
				dispbottom "You gained "+.@amount+" Point(s).";
			}
		}
		end;
		
}

 

 

  • Upvote 1
  • 0
Posted (edited)
42 minutes ago, Emistry said:

2.


-	script	Sample#pvp_mmr	-1,{

	OnPCDieEvent:
		if ( getcharid(3) != killerrid && PVP_POINTS > 0 ) {
			.@amount = (( PVP_POINTS < 20 ) ? PVP_POINTS : 20 );
			if ( .@amount ) {
				PVP_POINTS -= .@amount;
				dispbottom "You lose "+.@amount+" Point(s).";
			}
			if ( attachrid( killerrid ) ) {
				PVP_POINTS += .@amount;
				dispbottom "You gained "+.@amount+" Point(s).";
			}
		}
		end;
		
}

 

I'll try this now. /no1

Quote

 

Edited by Jezu
  • 0
Posted
On 11/11/2016 at 11:37 AM, Emistry said:

2.


-	script	Sample#pvp_mmr	-1,{

	OnPCDieEvent:
		if ( getcharid(3) != killerrid && PVP_POINTS > 0 ) {
			.@amount = (( PVP_POINTS < 20 ) ? PVP_POINTS : 20 );
			if ( .@amount ) {
				PVP_POINTS -= .@amount;
				dispbottom "You lose "+.@amount+" Point(s).";
			}
			if ( attachrid( killerrid ) ) {
				PVP_POINTS += .@amount;
				dispbottom "You gained "+.@amount+" Point(s).";
			}
		}
		end;
		
}

 

 

Hi @Emistry ! 

Can you make a simple ladder like top 10 or 20's? 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...