wafuboe
Active Member
- Joined
- Dec 24, 2010
- Messages
- 884
- Solutions
- 2
- Reaction score
- 26
function onEquip(cid, item, slot)
doSendMagicEffect(getPlayerPosition(cid), 51) doPlayerSetExperienceRate(cid, 36.00)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Ahora Tu experience Es De "..((36.00 - 1)*100).."% Mas!") return true end
function onDeEquip(cid, item, slot) doSendMagicEffect(getPlayerPosition(cid), 65) doPlayerSetExperienceRate(cid, 1)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Tu Exp Regreso A La Normalidad") return true
end
umm erhh where should i put it in?'
actions movements?
what lines should i add and where to make it work??
also i have this script! its a promotion doll
function onUse(cid, item2, fromPosition, itemEx, toPosition)
local i = getPlayerVocation(cid)
if i == 5 then
vocation = "Dark Wizard"
elseif i == 6 then
vocation = "Forest Sage"
elseif i == 7 then
vocation = "Assassin Lord"
elseif i == 8 then
vocation = "Vicious Warrior"
end
if getPlayerPromotionLevel(cid) == 1 then
setPlayerPromotionLevel(cid, 2)
doCreatureSay(cid, "Ahora eres "..vocation.."", TALKTYPE_ORANGE_1)
doRemoveItem(item.uid,1)
else
doPlayerSendCancel(cid,"Necesitas tener la primera promotion para poder ser promovido!.")
end
end
its suppose that the item dessapears when used but it doesnt dissapear :S
doSendMagicEffect(getPlayerPosition(cid), 51) doPlayerSetExperienceRate(cid, 36.00)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Ahora Tu experience Es De "..((36.00 - 1)*100).."% Mas!") return true end
function onDeEquip(cid, item, slot) doSendMagicEffect(getPlayerPosition(cid), 65) doPlayerSetExperienceRate(cid, 1)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Tu Exp Regreso A La Normalidad") return true
end
umm erhh where should i put it in?'
actions movements?
what lines should i add and where to make it work??
also i have this script! its a promotion doll
function onUse(cid, item2, fromPosition, itemEx, toPosition)
local i = getPlayerVocation(cid)
if i == 5 then
vocation = "Dark Wizard"
elseif i == 6 then
vocation = "Forest Sage"
elseif i == 7 then
vocation = "Assassin Lord"
elseif i == 8 then
vocation = "Vicious Warrior"
end
if getPlayerPromotionLevel(cid) == 1 then
setPlayerPromotionLevel(cid, 2)
doCreatureSay(cid, "Ahora eres "..vocation.."", TALKTYPE_ORANGE_1)
doRemoveItem(item.uid,1)
else
doPlayerSendCancel(cid,"Necesitas tener la primera promotion para poder ser promovido!.")
end
end
its suppose that the item dessapears when used but it doesnt dissapear :S