• 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!

item add exp tfs 1.3

Zaweq

Member
Joined
Apr 1, 2017
Messages
48
Reaction score
15
Any can help me change this script to tfs 1.3?

Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)


    if player:getLevel(cid) >= 300 then
    player:addExperience(6000000)
player:removeItem(38763,1)
    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have received the 6M Exp!')
    else
        player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Only people higher level 300 can use it!')
    end
    return true
end
 
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getLevel() >= 300 then
        player:addExperience(6000000)
        player:removeItem(38763,1)
        player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have received the 6M Exp!')
    else
        player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Only people higher level 300 can use it!')
    end
    return true
end
 
Back
Top