Ecstacy
Mothafuckaaa
Hey,
I need some help on how to prevent player from dropping a certain item, in this case itemid 102.
I tried things like this
but it didn't work.
Help is appreciated,
unknown666
I need some help on how to prevent player from dropping a certain item, in this case itemid 102.
I tried things like this
LUA:
function onDeEquip(cid, item, slot)
if getPlayerSlotItem(cid,CONST_SLOT_RING).uid == 102 then
doPlayerSendCancel(cid,'You can\'t move this item.')
return false
end
return true
end
but it didn't work.
Help is appreciated,
unknown666