botter1234
Member
- Joined
- Jun 20, 2008
- Messages
- 103
- Reaction score
- 7
This works to not allow players under the rebirth value but when they do use it it does not give themthe attributes assigned in items.xml
Anyone know?
Anyone know?
Lua:
function onEquip(cid, item, slot)
if isPlayer(cid) then
if getCreatureStorage(cid, 85987) >= 10 then
return true
elseif getCreatureStorage(cid, 85987) < 10 then
doPlayerSendTextMessage(cid, 27, 'need rebirth')
return false
end
end
end
function onDeEquip(cid, item, slot)
return onDeEquipItem
end
Last edited: