spam bug
#8

Quote:
Originally Posted by iggy1
Посмотреть сообщение
So are you using OnPlayerEnterCheckpoint?
Ok i change the system to work with OnPlayerEnterCheckpoint.
so its look like this:
pawn Код:
public housetimer2()
{
 for(new i=0;i<MAX_PLAYERS;i++)
 {
 for(new m=0;m<MAX_HOUSES;m++)
 {
      if(PlayerToPoint(4, i, h2Info[m][iconx], h2Info[m][icony], h2Info[m][iconz]))
      {
       CP[i] = 69;
       SetPlayerCheckpoint(i, h2Info[m][iconx], h2Info[m][icony], h2Info[m][iconz], 2);
      }
      else
      {
       if(backupst[i] == 0)
       {
          CP[i] = 0;
          DisablePlayerCheckpoint(i);
       }
      }

 }
 }
}
public OnPlayerEnterCheckPoint
{
  if (CP[playerid]==69)
    {
       GetHouseStats(playerid, GetHouseID(playerid));
    }
}
still didnt work. i mean, when i come near the house the checkpoint is not apear.
so i think the problem in the housetimer2 timer.
but i couldnt find what the problem...
Reply


Messages In This Thread
spam bug - by vection - 22.08.2010, 10:48
Re: spam bug - by iggy1 - 22.08.2010, 12:37
Re: spam bug - by vection - 22.08.2010, 13:57
Re: spam bug - by iggy1 - 22.08.2010, 14:09
Re: spam bug - by vection - 22.08.2010, 15:27
Re: spam bug - by vection - 22.08.2010, 16:02
Re: spam bug - by iggy1 - 22.08.2010, 17:22
Re: spam bug - by vection - 22.08.2010, 18:13
Re: spam bug - by iggy1 - 22.08.2010, 18:36
Re: spam bug - by vection - 22.08.2010, 19:05

Forum Jump:


Users browsing this thread: 10 Guest(s)