V
Vendrome
Gość
Zapewne się przyda, zezwala na wysyłanie wiadomości co 5 sekund chyba że ma się permisję mobiley.spam
[HIDE]
on chat:
if player doesn't have permissions "mobiley.spam":
set {_mobispam} to difference between {mobispam.%player%} and now
if {_mobispam} is less than 5 seconds:
send "&8[&6Serwery&6&lGB&8] &7Na chacie mozna pisac co 5 sekund!"
cancel event
stop
else:
set {spam.%player%} to now
[/HIDE]
[HIDE]
on chat:
if player doesn't have permissions "mobiley.spam":
set {_mobispam} to difference between {mobispam.%player%} and now
if {_mobispam} is less than 5 seconds:
send "&8[&6Serwery&6&lGB&8] &7Na chacie mozna pisac co 5 sekund!"
cancel event
stop
else:
set {spam.%player%} to now
[/HIDE]