16.09.2017, 09:44
You can replace the
korhaztimer[playerid] = SetTimerEx("exithospital", 60000, true, "d", playerid);
To
korhaztimer [playerid]=6;
And save it to a mysql variable in database then put the code on a timer of a second who repet
Ifkorhaztimer [playerid]>0;
Korhaztimer [playerid]--;// and save it to mysql
And don't forget to put at onplayerlogin the load variable from mysql database
korhaztimer[playerid] = SetTimerEx("exithospital", 60000, true, "d", playerid);
To
korhaztimer [playerid]=6;
And save it to a mysql variable in database then put the code on a timer of a second who repet
Ifkorhaztimer [playerid]>0;
Korhaztimer [playerid]--;// and save it to mysql
And don't forget to put at onplayerlogin the load variable from mysql database