I am trying to figure out how to add a Autosave feature that saves every 6000ms and I do not want it to show: "Server saved" every 6000ms. Is there a way?
Event OnLapperStart()
#Syntax: ss mm hh dayofweek dd MM YYYY
RegisterScheduleAction( "0 * * * * * *", Timer_Sub ); #Timer each minute
EndEvent
Sub Timer_Sub()
$Players = GetListOfPlayers(); #Get list of all players in the server
FOREACH ($User IN $Players) #Check each player one by one.
setUserStoredValue($User["value"], "Cash", GetPlayerVar($User["value"],"Cash")); #Store Cash to database
ENDFOREACH
EndSub