GetGameSpeed

From Multi Theft Auto: Wiki
Revision as of 13:45, 12 May 2007 by BrophY (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This function get the current game speed value

Syntax

getGameSpeed ()

Example

addCommandHandler ( "gamespeed", "gamespeedvalue" )
function getgamespeedvalue ()
local speed = getGameSpeed ()
outputChatbox ( "Gamespeed is currently set to " ..speed.. "" )
end

See Also