forked from Simnation/Main
werfen
This commit is contained in:
parent
453b281a4b
commit
46b895aff2
25 changed files with 716 additions and 0 deletions
10
resources/[tools]/pickle_throwables-1.0.1/core/shared.lua
Normal file
10
resources/[tools]/pickle_throwables-1.0.1/core/shared.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue