01.08.2013, 19:11
Tente fazer um comando que chame esta funзгo
pawn Код:
public Synctime()
{
new string[80],tmphour,tmpminute,tmpsecond;
gettime(tmphour, tmpminute, tmpsecond);
Fixhour(tmphour);
tmphour = shifthour;
if ((tmphour > ghour) || (tmphour == 0 && ghour == 23)){
PayDay();
SetHora();
ghour = tmphour;
format(string, sizeof(string), "{FF1493}Agora sгo %d:00 horas.",shifthour);
SendClientMessageToAll(COLOR_DBLUE,string);
}
print("[Debug]: Synctime carregada com sucesso!");
return 1;
}