ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getGameSpeed

Function

getGameSpeed

Server and clientMiscellaneousIdentical to MTA:SA

Returns the game speed set with setGameSpeed (1 by default).

Syntax

float getGameSpeed()

Returns

The speed.

Example

outputServerLog("Prędkość gry: " .. getGameSpeed())

See also