# getVersion (Shared)

> Returns information about the game's and Lua's versions.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Shared
- **Category**: Data and utilities
- **URL**: https://wiki.mymp.gg/en/getVersion

## Syntax

```lua
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

```lua
local version = getVersion()
print(version.name, version.protocol, version.lua)
```

## See also

- [getRealTime (Shared)](https://wiki.mymp.gg/en/getRealTime.md): Returns the computer's real date and time, in the local time zone.
