zKing Postado Janeiro 31, 2019 Denunciar Compartilhar Postado Janeiro 31, 2019 Eae novinhos :3 !! Hoje eu estou precisando de ajuda para terminar um skript que estou fazendo! Bom.. sendo claro, eu quero uma contagem regressiva na barra de exp do player ! eu fiz um mas esta muito grande e possivelmente cause lag em uma grande quantidade de players! Modelo: Namoral isso chega a ser feio! tem algum comando que ja faça este tipo de ação e que possua algum condição ele termine? Sendo um sk de login.. quando o player poe a senha correta" {_Registrando} " fica falso e a contagem some! ( esta funcionando.. mas vcs ja sabem) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- on join: if {_Registrando} is "true": wait 1 second set the player's level to 60 if level of player is greater than or equal to 1: set the player's level to 60 wait 2 second if {_Registrando} is "true": set the player's level to 58 wait 2 second if {_Registrando} is "true": set the player's level to 56 wait 2 second if {_Registrando} is "true": set the player's level to 54 wait 2 second if {_Registrando} is "true": set the player's level to 52 wait 2 second if {_Registrando} is "true": set the player's level to 50 wait 2 second if {_Registrando} is "true": set the player's level to 48 wait 2 second if {_Registrando} is "true": set the player's level to 46 wait 2 second if {_Registrando} is "true": set the player's level to 44 wait 2 second if {_Registrando} is "true": set the player's level to 42 wait 2 second if {_Registrando} is "true": set the player's level to 40 wait 2 second if {_Registrando} is "true": set the player's level to 38 wait 2 second if {_Registrando} is "true": set the player's level to 36 wait 2 second if {_Registrando} is "true": set the player's level to 34 wait 2 second if {_Registrando} is "true": set the player's level to 32 wait 2 second if {_Registrando} is "true": set the player's level to 30 wait 2 second if {_Registrando} is "true": set the player's level to 28 wait 2 second if {_Registrando} is "true": set the player's level to 26 wait 2 second if {_Registrando} is "true": set the player's level to 24 wait 2 second if {_Registrando} is "true": set the player's level to 22 wait 2 second if {_Registrando} is "true": set the player's level to 20 wait 2 second if {_Registrando} is "true": set the player's level to 18 wait 2 second if {_Registrando} is "true": set the player's level to 16 wait 2 second if {_Registrando} is "true": set the player's level to 14 wait 2 second if {_Registrando} is "true": set the player's level to 12 wait 2 second if {_Registrando} is "true": set the player's level to 10 wait 1 second if {_Registrando} is "true": set the player's level to 9 wait 1 second if {_Registrando} is "true": set the player's level to 8 wait 1 second if {_Registrando} is "true": set the player's level to 7 wait 1 second if {_Registrando} is "true": set the player's level to 6 wait 1 second if {_Registrando} is "true": set the player's level to 5 wait 1 second if {_Registrando} is "true": set the player's level to 4 wait 1 second if {_Registrando} is "true": set the player's level to 3 wait 1 second if {_Registrando} is "true": set the player's level to 2 wait 1 second if {_Registrando} is "true": set the player's level to 1 wait 1 second if {_Registrando} is "true": set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 else: set the player's level to 0 Link para o comentário Compartilhar em outros sites More sharing options...
wallace4_BR Postado Fevereiro 1, 2019 Denunciar Compartilhar Postado Fevereiro 1, 2019 (editado) Fazendo Editado Fevereiro 1, 2019 por wallace4_BR Link para o comentário Compartilhar em outros sites More sharing options...
SrBlecaute Postado Fevereiro 1, 2019 Denunciar Compartilhar Postado Fevereiro 1, 2019 (editado) on join: set the player's level to 60 set {_n} to 60 while {_Registrando.%player%} is true: set the player's level to {_n} remove 1 from {_n} wait 1 second ta ai quando o jogador se registrar tu tem que marcar a variavel para false no caso {_Registrado.%player%} to false e quando ele sair setar para true acho que é isso pra mais ajuda ou se der erros https://discord.gg/zDpV2y3 entra ae que eu te ajudo Editado Fevereiro 1, 2019 por SrBlecaute Link para o comentário Compartilhar em outros sites More sharing options...
zKing Postado Fevereiro 1, 2019 Autor Denunciar Compartilhar Postado Fevereiro 1, 2019 1 hora atrás, SrBlecaute disse: on join: set the player's level to 60 set {_n} to 60 white {_Registrando.%player%} is true: set the player's level to {_n} remove 1 from {_n} wait 1 second ta ai quando o jogador se registrar tu tem que marcar a variavel para false no caso {_Registrado.%player%} to false e quando ele sair setar para true acho que é isso pra mais ajuda ou se der erros https://discord.gg/zDpV2y3 entra ae que eu te ajudo preciso de alguma plataforma... skQuery algo do tipo? pq o "white" esta dando erro de condição Link para o comentário Compartilhar em outros sites More sharing options...
SrBlecaute Postado Fevereiro 1, 2019 Denunciar Compartilhar Postado Fevereiro 1, 2019 eta malz é while e n white erro de digitação 1 Link para o comentário Compartilhar em outros sites More sharing options...
TheGeneX Postado Fevereiro 2, 2019 Denunciar Compartilhar Postado Fevereiro 2, 2019 Seu pedido foi marcado como entregue por nossa equipe. Caso ele não tenha sido entregue como gostaria, crie outro tópico. OBS: Essa mensagem é automática Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados