• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

TalkAction how much exp for next level

tetra20

DD
Joined
Jan 17, 2009
Messages
1,315
Solutions
4
Reaction score
323
Location
Egypt
i know this is useless script but might be useful for High Exp Server
in talkaction
Code:
function onSay(cid, words, param)
local lvl = "you Need "..getExperienceForLevel(getPlayerLevel(cid)+1).." for Next Lvl"
      if doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED) then
      doPlayerPopupFYI(cid, lvl)
      end
      end
Code:
<talkaction words="!exp" script="lvl.lua"/>

don't edit anything
 
Last edited:
Lua:
function onSay(cid, words, param)
return doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED) and doPlayerPopupFYI(cid, "you Need "..getExperienceForLevel(getPlayerLevel(cid)).." for Next Lvl")
end
 
Back
Top