Scripting/Server/Functions/GetTickCount
Millisecond counter. Use it to measure time between events.
Contents
Syntax
GetTickCount()Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "gettickcount" )
{
GetTickCount();
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- SetServerName
- SetPassword
- SetServerRule
- RemoveBuildingForPlayer
- SyncPlayerSkins
- ReloadScripts
- LoadScript
- UnloadScript
- GetScripts
- ToggleRagdollPhysics
- ToggleVehicleDents
- LoadModule
Section: Server information and administration
Categories: Server functions | Server information and administration