Default lua rand() is just interface to rand() from C, and it’s seeded by time i think. Is it possible to add better randomiser(Mersenne Twister(it’s more fast and have very big period and can generate floats\ints) to Garry’s mod lua library?
If you can write something like that, yes. Just pop it in extensions. Or even autorun.
It can’t be written on LUA i think. It can be inserted in gmod lua_shared lib
Any standard algorithm can be ported to Lua. As long as the inputs to the algorithm are basic and available in the current implementation of Lua.
Unless you’re playing with cryptography in your addon, why does the quality of the pseudorandom number generator matter?