Checkpoint Problem
#6

Quote:
Originally Posted by mrtms
Посмотреть сообщение
I dont see a checkpoint setter anywhere in the code. Here are the parameters:

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
HERE

PHP код:
public checkpointUpdate()
{
    for(new 
i=0i<MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
          {
              for(new 
j=0MAX_POINTSj++)
              {
                if(
isPlayerInArea(icheckCoords[j]))
                   {
                       if(
playerCheckpoint[i]!=j)
                    {
                        
DisablePlayerCheckpoint(i);
                        
SetPlayerCheckpoint(icheckpoints[j][0],checkpoints[j][1],checkpoints[j][2],checkpoints[j][3]);
                        
playerCheckpoint[i] = j;
                    }
                   }
                   else
                   {
                       if(
playerCheckpoint[i]==j)
                    {
                        
DisablePlayerCheckpoint(i);
                        
playerCheckpoint[i] = 999;
                    }
                   }
              }
          }
    }

The checkpoint is found but when i use the command /robstore nothing happen
Reply


Messages In This Thread
Checkpoint Problem - by nor15 - 05.02.2013, 23:24
Re: Checkpoint Problem - by nor15 - 06.02.2013, 01:10
Re: Checkpoint Problem - by AphexCCFC - 06.02.2013, 01:13
Re: Checkpoint Problem - by nor15 - 06.02.2013, 01:43
Re: Checkpoint Problem - by mrtms - 06.02.2013, 03:06
Re: Checkpoint Problem - by nor15 - 06.02.2013, 03:17
Re: Checkpoint Problem - by mrtms - 06.02.2013, 03:23
Re: Checkpoint Problem - by nor15 - 06.02.2013, 03:25
Re: Checkpoint Problem - by mrtms - 06.02.2013, 03:34
Re: Checkpoint Problem - by nor15 - 06.02.2013, 03:39

Forum Jump:


Users browsing this thread: 1 Guest(s)