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

Lua Change this msg error LVL to ML

danbsten

New Member
Joined
Aug 3, 2015
Messages
53
Reaction score
1
Someone can change this error msg (need lvl to need MLVL)?

Code:
  if getPlayerLevel(cid) < spells_t[msg:lower()].level then
  npcHandler:say("You need to be level ".. spells_t[msg:lower()].level .." or older to purchase this spell.", cid)
  return true
  end
 
Code:
  if getPlayerLevel(cid) < spells_t[msg:lower()].magiclevel then
  npcHandler:say("You need to be magic level ".. spells_t[msg:lower()].magiclevel .." or older to purchase this spell.", cid)
  return true
  end

It's a guess that this would work. I don't know the functions.
 
If it doesn't work, paste the rest of the script, so we help more effectively. :p
 
Back
Top