Would be appreciated
Forum
CS2D Scripts Infinitive number in luaInfinitive number in lua
7 replies 1
Would be appreciated
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
function getInf() 	local num = 0 	 	while (true) do 		num = num + 1 	end 	 	return num end
Just kidding, use
math.huge.
Reference: http://lua-users.org/wiki/MathLibraryTutorial
local infinity = 2^1024or
local infinity = 1/0
Your welcome.
2^1024is the limit.
1