Biskitsss Posted February 23 Posted February 23 can anyone tell me if it's possible to give VIP players the skill "Greed"? then after the VIP expires, the skill will not be usable/gone. so far here's what I have done, still not giving me the greed skill. vip_greed.txt Quote
0 EderRock Posted March 7 Posted March 7 Olá, seria algo neste sentido? - script VIP_Greed -1,{ OnPCLoginEvent: // Verifica se o jogador já aprendeu Ganância por conta própria if (getskilllv("MC_GREED") > 0) { set @greed_learned, 1; // Marca que o jogador já tem Ganância } else { set @greed_learned, 0; // O jogador não tem Ganância por conta própria } if (vip_status(0)) { // Se o jogador for VIP e não tiver aprendido Ganância por conta própria, adiciona a habilidade if (!@greed_learned && getskilllv("MC_GREED") == 0) { skill "MC_GREED", 1, 0; dispbottom "Você recebeu a habilidade Ganância por ser VIP!"; } } else { // Se o VIP expirou e ele não tinha Ganância antes, remove a habilidade if (!@greed_learned && getskilllv("MC_GREED") > 0) { skill "MC_GREED", 0, 0; dispbottom "Seu VIP expirou, Ganância foi removida."; } } end; } Quote
Question
Biskitsss
can anyone tell me if it's possible to give VIP players the skill "Greed"? then after the VIP expires, the skill will not be usable/gone.
so far here's what I have done, still not giving me the greed skill.
vip_greed.txt
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.