Ola pessoal to vendo muitos topcos de skils,
ai resolvi me empenhar numa action boa...
entaum ai vai vou postar uma foto pra voces entenderem...
simples asim ai vai a action
Essa é Para Add Fist("Socos")
function onUse(cid, item, frompos, item2, topos)addskilpos = toposplayeraddskil = getThingfromPos(addskilpos)if item.uid == 7000 and doPlayerRemoveMoney(cid,100) == 1 thendoSendMagicEffect(topos,14)doPlayerAddSkillTry(topos,0,1000)doSendAnimatedText(topos,1000,30)doPlayerSendTextMessage(cid,22,"Voce Ganhou Pontos Em Skills de Fist")elsedoPlayerSendCancel(cid, "Desculpa, Voce não tem dinheiro.")endreturn 1end
Essa é Para Add Club
function onUse(cid, item, frompos, item2, topos)addskilpos = toposplayeraddskil = getThingfromPos(addskilpos)if item.uid == 7001 and doPlayerRemoveMoney(cid,100) == 1 thendoSendMagicEffect(topos,14)doPlayerAddSkillTry(topos,1,1000)doSendAnimatedText(topos,1000,30)doPlayerSendTextMessage(cid,22,"Voce Ganhou Pontos Em Skills de Club")elsedoPlayerSendCancel(cid, "Desculpa, Voce não tem dinheiro.")endreturn 1end
Essa é Para Add Sword
function onUse(cid, item, frompos, item2, topos)addskilpos = toposplayeraddskil = getThingfromPos(addskilpos)if item.uid == 7002 and doPlayerRemoveMoney(cid,100) == 1 thendoSendMagicEffect(topos,14)doPlayerAddSkillTry(topos,2,1000)doSendAnimatedText(topos,1000,30)doPlayerSendTextMessage(cid,22,"Voce Ganhou Pontos Em Skills de Sword")elsedoPlayerSendCancel(cid, "Desculpa, Voce não tem dinheiro.")endreturn 1end
Essa é Para Add Axe
function onUse(cid, item, frompos, item2, topos)addskilpos = toposplayeraddskil = getThingfromPos(addskilpos)if item.uid == 7003 and doPlayerRemoveMoney(cid,100) == 1 thendoSendMagicEffect(topos,14)doPlayerAddSkillTry(topos,3,1000)doSendAnimatedText(topos,1000,30)doPlayerSendTextMessage(cid,22,"Voce Ganhou Pontos Em Skills de Axe")elsedoPlayerSendCancel(cid, "Desculpa, Voce não tem dinheiro.")endreturn 1end
Essa é Para Add Distance
function onUse(cid, item, frompos, item2, topos)addskilpos = toposplayeraddskil = getThingfromPos(addskilpos)if item.uid == 7004 and doPlayerRemoveMoney(cid,100) == 1 thendoSendMagicEffect(topos,14)doPlayerAddSkillTry(topos,4,1000)doSendAnimatedText(topos,1000,30)doPlayerSendTextMessage(cid,22,"Voce Ganhou Pontos Em Skills de Distance")elsedoPlayerSendCancel(cid, "Desculpa, Voce não tem dinheiro.")endreturn 1end
Essa é Para Add Shielding
function onUse(cid, item, frompos, item2, topos)addskilpos = toposplayeraddskil = getThingfromPos(addskilpos)if item.uid == 7005 and doPlayerRemoveMoney(cid,100) == 1 thendoSendMagicEffect(topos,14)doPlayerAddSkillTry(topos,5,1000)doSendAnimatedText(topos,1000,30)doPlayerSendTextMessage(cid,22,"Voce Ganhou Pontos Em Skills de Shielding")elsedoPlayerSendCancel(cid, "Desculpa, Voce não tem dinheiro.")endreturn 1end
Essa é Para Add Fishing
function onUse(cid, item, frompos, item2, topos)addskilpos = toposplayeraddskil = getThingfromPos(addskilpos)if item.uid == 7006 and doPlayerRemoveMoney(cid,100) == 1 thendoSendMagicEffect(topos,14)doPlayerAddSkillTry(topos,6,1000)doSendAnimatedText(topos,1000,30)doPlayerSendTextMessage(cid,22,"Voce Ganhou Pontos Em Skills de Fishing")elsedoPlayerSendCancel(cid, "Desculpa, Voce não tem dinheiro.")endreturn 1end
<action uniqueid="2525" script="skills.lua" />
<action uniqueid="UNIQUEID QUE VOCE POIS NA ALAVANCA"
script="NOME QUE VOCE POIS NO SCRIP.lua