cp problem
#4

well, you could do some research you know..

pawn Код:
public OnPlayerConnect(playerid)
{
  [...]

  SetPlayerCheckpoint(playerid, 1520.5525,-2604.5759,13.5469,3);

  [...]
  return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
  DisablePlayerCheckpoint(playerid);

  if (PlayerToPoint(playerid, 5, 1520.5525,-2604.5759,13.5469))
  {
    SetPlayerPos(playerid, 246.4716,70.0103,1003.6406);
    SetPlayerCheckpoint(playerid, 246.6656,65.0490,1003.6406,3);
    return 1;
  }
  if (PlayerToPoint(playerid, 5, 246.6656,65.0490,1003.6406))
  {
    SetPlayerPos(playerid, 1519.7589,-2597.4492,13.5469);
    SetPlayerCheckpoint(playerid, 246.6656,65.0490,1003.6406,3);
    return 1;
  }
 
  return 1;
}
Reply


Messages In This Thread
cp problem - by [D1zZy_vortex] - 05.03.2009, 17:42
Re: cp problem - by Dujma - 05.03.2009, 17:54
Re: cp problem - by [D1zZy_vortex] - 05.03.2009, 17:55
Re: cp problem - by [RP]Rav - 05.03.2009, 17:57
Re: cp problem - by Dujma - 05.03.2009, 17:57
Re: cp problem - by Lucas Giovanni - 05.03.2009, 17:57
Re: cp problem - by Dujma - 05.03.2009, 17:58
Re: cp problem - by Lucas Giovanni - 05.03.2009, 17:58
Re: cp problem - by [D1zZy_vortex] - 05.03.2009, 18:27
Re: cp problem - by 1337pr0 - 05.03.2009, 18:41

Forum Jump:


Users browsing this thread: 1 Guest(s)