M
MileeeczeK
Gość
Skrypt na to, aby gracze bez odpowiedniego uprawnienia nie mogli bić innych na fly lub gamemode.
Kod:
on damage of player:
attacker is player
if attacker is flying:
if attacker has permission "antyfly.*":
stop
else:
cancel event
send "&cNie mozesz nikogo zranic podczas latania." to attacker
on damage:
if attacker is player:
if victim is player:
if attacker's gamemode is creative:
if attacker don't have permission "antygamemode.*":
send "&cBicie podczas trybu kreatywnego jest zabronione." to attacker
cancel event