Inteligentny
Im not.
- Joined
- Aug 2, 2008
- Messages
- 485
- Reaction score
- 0
Because in config.lua I have set
Ice rapier is not dissapering but I want to make it dissapear, Is it even possible?
I dont know too much about scripting, tried to make something like this:
return doRemoveItem(item.uid,1) < I know its sux xD tried everything dont loguht but help newbie please
its not working have no idea how to make item dissapearing after 1 shot
Could someone advanced help me out with this?
Code:
removeAmmoWhenUsingDistanceWeapon = "no"
I dont know too much about scripting, tried to make something like this:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 512)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, -100, 0, 1.0, -200)
function onUseWeapon(cid, var)
return doRemoveItem(item.uid,1)
end
return doRemoveItem(item.uid,1) < I know its sux xD tried everything dont loguht but help newbie please
its not working have no idea how to make item dissapearing after 1 shot
Could someone advanced help me out with this?