- Documentation
- Server functions
- getGameType
Function
getGameType
Returns the game type set with setGameType.
Syntax
string getGameType()Differences from MTA:SA
- In MTA:SA this function is client-side only.
In MTA:SA
getGameType()Returns
The game type, or false.
Example
outputServerLog("Tryb: " .. tostring(getGameType()))