• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Eq Crashes

Dkadsfe

Member
Joined
Apr 1, 2016
Messages
280
Reaction score
22
TFS 0.3.6 reborn1eq.lua
Code:
function onEquip(cid, item, slot)
    if getPlayerStorageValue(cid,85713) >= 1 then
        return true
    else
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You must be Prestige 1 or higher to equip this.")
        return false
    end
end
I have no idea why it crashes when I remove the equipment
movements.xml
Code:
    <movevent type="Equip" itemid="2466" slot="armor" function="onEquipItem" script="reborneq1.lua"/>
    <movement type="DeEquip" itemid="2466" event="function" value="onDeEquipItem"/>
 
<movevent type="Equip" itemid="2466" slot="armor" event="script" value="reborneq1.lua"/>
<movement type="DeEquip" itemid="2466" slot="armor" event="function" value="onDeEquipItem"/>
 
Back
Top