• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

item add exp tfs 1.3

Zaweq

Member
Joined
Apr 1, 2017
Messages
58
Reaction score
17
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