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

TFS 1.0 source request

Cadyan

Well-Known Member
Joined
Mar 30, 2008
Messages
844
Reaction score
63
I have noticed that math.random sets up the same way after each server restart. Maybe someone could introduce math.random based on os.time()? This would make the randomness a little more random
 
like this?

onCastSpell(cid, var)
math.randomseed(os.time())
if math.random(1,3) == 1 then
return true
else
return false
end
end
 
Back
Top