Deviszh Posted November 5, 2016 Share Posted November 5, 2016 (edited) As the title says, i want to add pvp ranking w/ reset (GM 99 Only can reset) in my pvp room script. Here's the script. morocc,154,113,6 script PvP Room 615,{ [email protected]$ = "Izlude (Berry/Seed - ALLOWED) ["+getmapusers("pvp_y_1-2")+"/30]"; if( getmapusers("pvp_y_1-2") >= 30 ) { mes "[PvP Room Master]", "I'm sorry but the PVP Room is already full!"; close; } [email protected]$ = "Izlude (x Berry/Seed) ["+getmapusers("pvp_y_2-2")+"/30]"; if( getmapusers("pvp_y_2-2") >= 30 ) { mes "[PvP Room Master]", "I'm sorry but the PVP Room is already full!"; close; } mes "Where do you wanna go?"; next; switch (select([email protected]$, [email protected]$)) { case 1: announce strcharinfo(0)+" has joined Izlude (PVP, Berry/Seed - ALLOWED).",bc_all; warp "pvp_y_1-2",0,0; end; case 2: announce strcharinfo(0)+" has joined Izlude (x Berry/Seed).",bc_all; warp "pvp_y_2-2",0,0; end; case 3: announce strcharinfo(0)+" has joined Morocc Deathmatch (x Berry/Seed).",bc_all; warp "pvp_y_1-5",0,0; end; OnInit: waitingroom "PVP Room",0; end; } } // PvP Room ---------------------------------------------- morocc,171,250,4 duplicate(PvP Room) PvP Room#d2 615 louyang,225,98,3 duplicate(PvP Room) PvP Room#d3 615 payon,167,234,3 duplicate(PvP Room) PvP Room#d4 615 gonryun,170,142,3 duplicate(PvP Room) PvP Room#d5 615 aldebaran,146,116,3 duplicate(PvP Room) PvP Room#d6 615 ayothaya,161,159,3 duplicate(PvP Room) PvP Room#d7 615 xmas,154,126,3 duplicate(PvP Room) PvP Room#d8 615 Dont want to use GHOST PVP LADDER, because it has bug. Edited November 5, 2016 by Deviszh Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 27, 2016 Share Posted November 27, 2016 try this https://pastebin.com/PeG5nuwy Quote Link to comment Share on other sites More sharing options...
As the title says, i want to add pvp ranking w/ reset (GM 99 Only can reset) in my pvp room script.
Here's the script.
morocc,154,113,6 script PvP Room 615,{ [email protected]$ = "Izlude (Berry/Seed - ALLOWED) ["+getmapusers("pvp_y_1-2")+"/30]"; if( getmapusers("pvp_y_1-2") >= 30 ) { mes "[PvP Room Master]", "I'm sorry but the PVP Room is already full!"; close; } [email protected]$ = "Izlude (x Berry/Seed) ["+getmapusers("pvp_y_2-2")+"/30]"; if( getmapusers("pvp_y_2-2") >= 30 ) { mes "[PvP Room Master]", "I'm sorry but the PVP Room is already full!"; close; } mes "Where do you wanna go?"; next; switch (select([email protected]$, [email protected]$)) { case 1: announce strcharinfo(0)+" has joined Izlude (PVP, Berry/Seed - ALLOWED).",bc_all; warp "pvp_y_1-2",0,0; end; case 2: announce strcharinfo(0)+" has joined Izlude (x Berry/Seed).",bc_all; warp "pvp_y_2-2",0,0; end; case 3: announce strcharinfo(0)+" has joined Morocc Deathmatch (x Berry/Seed).",bc_all; warp "pvp_y_1-5",0,0; end; OnInit: waitingroom "PVP Room",0; end; } } // PvP Room ---------------------------------------------- morocc,171,250,4 duplicate(PvP Room) PvP Room#d2 615 louyang,225,98,3 duplicate(PvP Room) PvP Room#d3 615 payon,167,234,3 duplicate(PvP Room) PvP Room#d4 615 gonryun,170,142,3 duplicate(PvP Room) PvP Room#d5 615 aldebaran,146,116,3 duplicate(PvP Room) PvP Room#d6 615 ayothaya,161,159,3 duplicate(PvP Room) PvP Room#d7 615 xmas,154,126,3 duplicate(PvP Room) PvP Room#d8 615Dont want to use GHOST PVP LADDER, because it has bug.
Edited by DeviszhLink to comment
Share on other sites