GetGameSpeed

From Multi Theft Auto: Wiki
Revision as of 08:06, 1 August 2007 by Norby89 (talk | contribs) (→‎Syntax)
Jump to navigation Jump to search

Description

This function get the current game speed value

Syntax

getGameSpeed ( void )

Example

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

See Also