Scripting/Squirrel/Functions/GetTimeRate

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

This function will get the timerate of the game.

Syntax

GetTimeRate()

Arguments

N/A

Return value

  • int timerate - The timerate of the game

Example

{
if ( cmd == "timerate" )
{
MessagePlayer( "Game time rate is: " + GetTimeRate(), player );
}
}

Notes

Related Functions