getVersion
Shared
Returns information about the game's and Lua's versions.
table getVersion()
Returns
A table with name ("re-sa"), protocol (the network protocol version) and lua (Lua's version, such as "Lua 5.4.9").
Example
local version = getVersion()
print(version.name, version.protocol, version.lua)