highclick
New Member
- Joined
- Mar 21, 2011
- Messages
- 80
- Reaction score
- 4
Hi! I'm trying too transform a sword (ID 11395) into a mace (ID 2448). I'm very new at using .lua and im unfamiliar with their functions. If anyone could explain what i should put into the parameters and why that would be great
This is how far I've come with my script:
This is how far I've come with my script:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 11395 then
doTransformItem(uid, toitemid[, count/subtype])