Same interior on different location
#7

I kinda don't get what you mean but try this :

(Okay so I'm assuming your using Incognitos plugin)
pawn Код:
new LOL[MAX_PLAYERS];

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
  if(checkpointid == Enter1)
  {
    LOL[playerid] = 1;
  }
  else if(checkpointid == Enter2)
  {
    LOL[playerid] = 2;
  }
  else if(checkpointid == Enter3)
  {
    LOL[playerid] = 3;
  }
  return 1;
}

public OnPlayerExitDynamicCP(playerid, checkpointid)
{
  if(checkpointid == Exit)
  {
    if(LOL[playerid] == 1)
    {
       SetPlayerPos(...);
    }
    else if(LOL[playerid] == 2)
    {
       SetPlayerPos(...);
    }
    else if(LOL[playerid] == 3)
    {
       SetPlayerPos(...);
    }
    return 1;
}
Reply


Messages In This Thread
Same interior on different location - by Rolyy - 07.08.2010, 10:47
Re: Same interior on different location - by ViruZZzZ_ChiLLL - 07.08.2010, 10:49
Re: Same interior on different location - by Rolyy - 07.08.2010, 10:51
Re: Same interior on different location - by ViruZZzZ_ChiLLL - 07.08.2010, 10:52
Re: Same interior on different location - by Rolyy - 07.08.2010, 10:59
Re: Same interior on different location - by Rolyy - 07.08.2010, 12:13
Re: Same interior on different location - by ViruZZzZ_ChiLLL - 07.08.2010, 12:20
Re: Same interior on different location - by Rolyy - 07.08.2010, 12:26
Re: Same interior on different location - by Claude - 07.08.2010, 12:27
Re: Same interior on different location - by Rolyy - 07.08.2010, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)