Ir para conteúdo

skript ou plugin de delay em comandos


zNight

Posts Recomendados

 

options:
	
	delay: 5 seconds


on command "vender":
	set {_espera} to difference between {Vdelay.%player%} and now
	if {_espera} is less than {@delay}:
		cancel event
		set {_mensagem} to "%difference between {@delay} and {_espera}%"
		replace all "and" in {_mensagem} with "e"
		replace all "days" in {_mensagem} with "dia"
		replace all "hours" in {_mensagem} with "horas"
		replace all "minutes" in {_mensagem} with "minutos"
		replace all "seconds" in {_mensagem} with "segundos"
		send "&cVocê precisa aguardar &4%{_mensagem}% &cpara usar esse comando novamente"
		stop	
	else:
		set {Vdelay.%player%} to now

 

Editado por SrBlecaute
Link para o comentário
Compartilhar em outros sites

55 minutos atrás, Logikoz disse:

o projeto é seu? 

se nao, baixa o herovender...ja tem isso '-'

O meu é lQuickSell

 

 

23 minutos atrás, SrBlecaute disse:

 


options:
	
	delay: 5 seconds


on command "vender":
	set {_espera} to difference between {Vdelay.%player%} and now
	if {_espera} is less than {@delay}:
		cancel event
		set {_mensagem} to "%difference between {@delay} and {_espera}%"
		replace all "and" in {_mensagem} with "e"
		replace all "days" in {_mensagem} with "dia"
		replace all "hours" in {_mensagem} with "horas"
		replace all "minutes" in {_mensagem} with "minutos"
		replace all "seconds" in {_mensagem} with "segundos"
		send "&cVocê precisa aguardar &4%{_mensagem}% &cpara usar esse comando novamente"
		stop	
	else:
		set {Vdelay.%player%} to now

 

vou testar aqui men

Link para o comentário
Compartilhar em outros sites

26 minutos atrás, SrBlecaute disse:

 


options:
	
	delay: 5 seconds


on command "vender":
	set {_espera} to difference between {Vdelay.%player%} and now
	if {_espera} is less than {@delay}:
		cancel event
		set {_mensagem} to "%difference between {@delay} and {_espera}%"
		replace all "and" in {_mensagem} with "e"
		replace all "days" in {_mensagem} with "dia"
		replace all "hours" in {_mensagem} with "horas"
		replace all "minutes" in {_mensagem} with "minutos"
		replace all "seconds" in {_mensagem} with "segundos"
		send "&cVocê precisa aguardar &4%{_mensagem}% &cpara usar esse comando novamente"
		stop	
	else:
		set {Vdelay.%player%} to now

 

http://prntscr.com/lyaw2n ta pegando n 

Link para o comentário
Compartilhar em outros sites

options:
	
	delay: 5 seconds

on command "vender":
	set {_espera} to difference between {_Vdelay.%player%} and now
	if {_espera} is less than {@delay}:
		cancel event
		set {_mensagem} to "%difference between {@delay} and {_espera}%"
		replace all "and" in {_mensagem} with "e"
		replace all "days" in {_mensagem} with "dia"
		replace all "hours" in {_mensagem} with "horas"
		replace all "minutes" in {_mensagem} with "minutos"
		replace all "seconds" in {_mensagem} with "segundos"
		send "&cVocê precisa aguardar &4%{_mensagem}% &cpara usar esse comando novamente"
		stop	
	else:
		set {_Vdelay.%player%} to now

carrego sem problemas aqui

Link para o comentário
Compartilhar em outros sites

6 minutos atrás, SrBlecaute disse:

options:
	
	delay: 5 seconds

on command "vender":
	set {_espera} to difference between {_Vdelay.%player%} and now
	if {_espera} is less than {@delay}:
		cancel event
		set {_mensagem} to "%difference between {@delay} and {_espera}%"
		replace all "and" in {_mensagem} with "e"
		replace all "days" in {_mensagem} with "dia"
		replace all "hours" in {_mensagem} with "horas"
		replace all "minutes" in {_mensagem} with "minutos"
		replace all "seconds" in {_mensagem} with "segundos"
		send "&cVocê precisa aguardar &4%{_mensagem}% &cpara usar esse comando novamente"
		stop	
	else:
		set {_Vdelay.%player%} to now

carrego sem problemas aqui

só mudei pra 2 seconds lá em cima

 

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...