Errors?
#5

pawn Код:
forward AreaCheck();
public AreaCheck()
{
  new MsgSent[MAX_PLAYERS] = 0;
  for(new i=0; i<MAX_PLAYERS;i++)
  {
  if(IsPlayerInRangeOfPoint(i,300.0,232.5435,-146.6228,1.4297,183.3526))
  {
    if(MsgSent[i] == 0)
    {
      GameTextForPlayer(i,"3",1000,3);
      MsgSend[i] = 1;
      SetTimerEx("MsgUnsent",60000,0,"d",i);
      SetTimerEx("Number2",1000,0,"d",i);
    }
}

forward Number2(id);
public Number2(id)
{
  GameTextForPlayer(id,"2",1000,3);
  SetTimerEx("Number1",1000,0,"d",i);
}

forward Number1(id);
public Number1(id)
{
  GameTextForPlayer(id,"1",1000,3);
  SetPlayerHealth(id,0);
}
Reply


Messages In This Thread
Errors? - by jameskmonger - 13.01.2010, 12:56
Re: Errors? - by MaykoX - 13.01.2010, 13:23
Re: Errors? - by Babul - 13.01.2010, 19:51
Re: Errors? - by Toad - 13.01.2010, 21:01
Re: Errors? - by [HiC]TheKiller - 13.01.2010, 21:49
Re: Errors? - by jameskmonger - 14.01.2010, 06:15

Forum Jump:


Users browsing this thread: 2 Guest(s)