1
0
Fork 0
forked from Simnation/Main
Main/resources/[tools]/pickle_throwables-1.0.1/core/shared.lua
2025-06-12 03:59:16 +02:00

10 lines
No EOL
278 B
Lua

function v3(coords) return vec3(coords.x, coords.y, coords.z), coords.w end
function GetRandomInt(min, max, exclude)
for i=1, 1000 do
local int = math.random(min, max)
if exclude == nil or exclude ~= int then
return int
end
end
end