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

Is there any way to shorten this? :D

JoSePh15_

Well-Known Member
Joined
Jan 28, 2010
Messages
1,766
Reaction score
59
LUA:
local advances = {1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000, 14000, 15000, 16000, 17000, 18000, 19000, 20000}
Is there any way that we can shorten that? :D
For example every 1k (1000 x ~)
 
like that ?? :

LUA:
for i = 1000, 20000,1000 do
  if isInArray(i, getPlayerLevel(cid)) then
  
  doPlayerSendTextMessage(cid,19,getPlayerLevel(cid).."")

end
end
 
Back
Top