#2

Hmmm, try that way:

pawn Код:
//Under OnGameModeInit:
forward Explosion (playerid);
public Explosion (playerid)
{
 SendClientMessage(playerid, red, "Explosion happens at 18:25");
    new hour, minutes;
    GetPlayerTime(playerid, hour, minutes);
    if(hour == 17 && minutes == 10)
    {
        SendClientMessageToAll(red, "WARNING: EXPLOSION COMING IN 35SECONDS");
    }
    else if(hour == 18 && minutes == 25)
    {
       CreateExplosion(2034.5475,1831.8447,11.8979,7,900);
    }
return 1;
}
//Under OnPlayerSpawn add only this:
Explosion(playerid);
Hope it works
Reply


Messages In This Thread
time - by willsuckformoney - 28.07.2010, 06:01
Re: time - by [MWR]Blood - 28.07.2010, 06:52
Re: time - by Fre$hKidd - 28.07.2010, 06:52
Re: time - by willsuckformoney - 28.07.2010, 07:27
Re: time - by iggy1 - 28.07.2010, 08:47

Forum Jump:


Users browsing this thread: 1 Guest(s)