28.07.2010, 06:01
Im having a day where i cant get anything done by myself, someone help please trying to get it so that when its 17:50 it sends a message to all that a huge explosion goes off at 18:25, compiles and works only thing that shows is the on player spawn message
pawn Код:
public OnPlayerSpawn(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);
}
//==============================================================================