- Dokumentacja
- Funkcje serwera
- getGameType
Funkcja
getGameType
Zwraca typ gry ustawiony przez setGameType.
Składnia
string getGameType()Różnice względem MTA:SA
- W MTA:SA ta funkcja jest tylko po stronie klienta.
W MTA:SA
getGameType()Zwraca
Typ gry albo false.
Przykład
outputServerLog("Tryb: " .. tostring(getGameType()))