setGameSpeed | Multi Theft Auto: Wiki Skip to content

setGameSpeed

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function sets the game speed to the given value.

Syntax

setGameSpeed ( )

Code Examples

server
addCommandHandler("setgamespeed",
function(sourcePlayer, command, value)
setGameSpeed(tonumber(value))
end
)

See Also

World Functions