Team Spartan Cookies & Milk Forums
--> math.randomseed <-- - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: --> math.randomseed <-- (/thread-1857.html)



--> math.randomseed <-- - ILoveYou - 24-07-2016

Why is "_G.math.randomseed(int) | math.randomseed(int)" not in our SF Syntax? (nil) (It's deklared without function?!)

Its a normally included Lua function :7


RE: --> math.randomseed <-- - Person8880 - 24-07-2016

Because Lua has no way of partitioning random number generation. You would be setting the random seed for everything, including all GLua scripts.