Hi Everybody.
My Question is this: ¿This function have the parameter of the item that is being used by the player?
and if it is correct, ¿How ca i use it? (as actions: ¿¿¿onUse(cid,item)???)
Thanks for ur Time!
\/
function onUseWeapon(cid, var)
local nameitem = getItemName(????var??????)
return true
end
My Question is this: ¿This function have the parameter of the item that is being used by the player?
and if it is correct, ¿How ca i use it? (as actions: ¿¿¿onUse(cid,item)???)
Thanks for ur Time!
\/
function onUseWeapon(cid, var)
local nameitem = getItemName(????var??????)
return true
end