SendClientMessage(playerid, i"In 20 Secunde Rac!!");
for(new i=0; i<MAX_PLAYERS; i++)
{
SendClientMessage(playerid, i, "In 20 Secunde Rac!!");
for(new i=0; i<MAX_PLAYERS; i++)
{
// rest
public SyncTime()
{
new string[64];
new tmphour;
new tmpminute;
new tmpsecond;
gettime(tmphour, tmpminute, tmpsecond);
FixHour(tmphour);
tmphour = shifthour;
if ((tmphour > ghour) || (tmphour == 0 && ghour == 23))
{
format(string, sizeof(string), "Este ora Fix Ceasul acuma este: %d:00 Succes incontinuare!",tmphour);
BroadCast(COLOR_WHITE,string);
ghour = tmphour;
PayDay();
for(new i=0; i<MAX_PLAYERS; i++)
{
SendClientMessage(playerid, i, "In 20 Secunde Rac!!");
SetTimer("ScheduledRespawn",20000,false);
if (realtime)
{
SetWorldTime(tmphour);
}
}
}
for(new i=0; i<MAX_PLAYERS; i++)
{
SendClientMessage(playerid, i, "In 20 Secunde Rac!!");
SetTimer("ScheduledRespawn",20000,false);
public SyncTime()
{
new string[64];
new tmphour;
new tmpminute;
new tmpsecond;
gettime(tmphour, tmpminute, tmpsecond);
FixHour(tmphour);
tmphour = shifthour;
if ((tmphour > ghour) || (tmphour == 0 && ghour == 23))
{
format(string, sizeof(string), "Este ora Fix Ceasul acuma este: %d:00 Succes incontinuare!",tmphour);
BroadCast(COLOR_WHITE,string);
ghour = tmphour;
PayDay();
for(new i=0; i<MAX_PLAYERS; i++)
{
SendClientMessage(playerid, i, "In 20 Secunde Rac!!");
SetTimer("ScheduledRespawn",20000,false);
} // < missed
if (realtime)
{
SetWorldTime(tmphour);
}
}
}
SendClientMessage( i, color_here, "In 20 Secunde Rac!!" );
my time in Rl is 6:00 the time in game is 4:00..i have realtime in server...
|