TheSubKIller aka Skinning 261 Posted January 26, 2012 Boas Cyber-Gamers Aqui deixo um npc que vende exp say_title ("Exp Master") say ("Olá, posso dar-lhe Exp") say ("Quanto você quer exp") locais exp = select ("10kk", "50kk", "100kk", "500kk", "eu pensei") se exp == 5 then retorno da função end say (nome) dizer (color256 (5,71,246) .. color256 nome .. (196196196)) end if exp == 1 then say_title ("Exp Master") say_reward ("Aqui você vai exp 10kk") PC. give_exp2 (10000000) say ("Você recebeu 10.000.000 Pontos Exp") end else elseif exp == 2 then say_title ("Exp Master") say_reward ("Aqui você vai exp 50kk") PC. give_exp2 (50000000) say ("Você recebeu 50.000.000 Pontos Exp") end else elseif exp == 3, em seguida, say_title ("Exp Master") say_reward ("Aqui você vai Exp 100kk") PC. give_exp2 (100 milhões) say ("Você recebeu 100.000.000 Pontos Exp") end else elseif exp == 4 then say_title ("Exp Master") say_reward ("Aqui você vai Exp 500kk") PC. give_exp2 (500000000) say ("Você recebeu 500.000.000 Pontos Exp") else return end end Fonte: InForge 1 UnWork reacted to this Share this post Link to post Share on other sites
UnWork 198 Posted January 26, 2012 Algumas linguagem ai ta errada não é dizer que se programa em quest é say Share this post Link to post Share on other sites
TheSubKIller aka Skinning 261 Posted January 26, 2012 Sim já corrigi xDD Share this post Link to post Share on other sites
TheSubKIller aka Skinning 261 Posted February 2, 2012 Claro ;D Share this post Link to post Share on other sites