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