Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>#
- # Zakazuje: #
- # Przywłaszczania sobie autorstwa skryptu #
- # Zarabiania na skrypcie #
- # Usuwania tresci zawierajacych informacje o autorze #
- # Podszywania sie pod autora #
- # Usuwania tresci zawierajacych autora #
- #<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>#
- # Autor: ZibaDesign #
- # Nazwa: ZibaRank #
- # Wersja: 0.2 #
- #<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>#
- options:
- #Ile gracz ma dostawac punktow na start
- rank: 1000
- #<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>#
- # #
- # #
- # #
- # Skrypt #
- # Code #
- # #
- # #
- # #
- #<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>#
- command /ranking [<text>]:
- trigger:
- if arg 1 is not set:
- send "&8##&7==============&8## &3Ranking &8##&7==============&8##"
- send "&e&l* &7Gracz: &8&l%player%"
- send "&e&l* &7Fragi: &8&l%{kill.%player%}%"
- send "&e&l* &7Zgony: &8&l%{dead.%player%}%"
- send "&e&l* &7Punkty: &8&l%{elo.%player%}%"
- send "&8##&7==============&8## &3Ranking &8##&7==============&8##"
- if arg 1 is not empty:
- send "&8##&7==============&8## &3Ranking &8##&7==============&8##"
- send "&e&l* &7Gracz: &8&l%arg 1%"
- send "&e&l* &7Fragi: &8&l%{kill.%arg 1%}%"
- send "&e&l* &7Zgony: &8&l%{dead.%arg 1%}%"
- send "&e&l* &7Punkty: &8&l%{elo.%arg 1%}%"
- send "&8##&7==============&8## &3Ranking &8##&7==============&8##"
- stop
- command /resetrank [<text>]:
- trigger:
- if arg 1 is not set:
- if player doesn't have permission "reset.drank":
- send " &4Brak uprawnien"
- stop
- delete {kill.*}
- delete {dead.*}
- delete {elo.*}
- send " &3Ranking pomyslnie zresetowany by wszystko dzialalo relognij z serwera"
- on death:
- if victim is player:
- if attacker is a player:
- add {elo.%victim%}*0.10 to {elo.%attacker%}
- remove {elo.%victim%}*0.10 from {elo.%victim%}
- add {elo.%victim%}*0.10 to {punkty}
- broadcast " &7Gracz &8%victim% &7zostal zabity przez gracza &8%attacker% &c(+%{punkty}%)"
- set {punkty} to 0
- add 1 to {kill.%attacker%}
- add 1 to {dead.%victim%}
- on join:
- {kill.%name of player%} is not set:
- set {kill.%name of player%} to 0
- {dead.%name of player%} is not set:
- set {dead.%name of player%} to 0
- {elo.%name of player%} is not set:
- set {elo.%name of player%} to {@rank}
- on right click with sword on player:
- send "&3 Gracz&c&l %clicked player% &3posiada &c&l%{elo.%clicked player%}% &3Elo"
Advertisement
Add Comment
Please, Sign In to add comment