[Help] Problem with DMV checkpoints [REZOLVED]
#1

I have a problem with the DMV checkpoints, I have the first checkpoint, when I get in it, it deasapears and the rest dosn't show on the map or on the street.

The checkpoints aren't made by me, i think this are the rest of the checkpoints:


pawn Код:
public playerlicense(playerid)
{

  if(PlayerInfo[playerid][pMember] == 1)
    {
    PlayerInfo[playerid][pCarLic] = 1;
    felon[playerid] = 0;
    WantedLevel[playerid] = 0;
    return 1;
    }

  return 1;
}

public playertest(playerid)
{

  if (drivingtestcheck[playerid] == 1 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,1065.3691,-1420.0787,13.1589,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 2 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,1329.3146,-1402.8855,13.0811,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 3 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,1360.2291,-1253.5270,13.1073,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 4 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,1484.6168,-1047.5455,23.3822,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 5 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,1175.7576,-1036.8389,31.4937,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 6 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,630.5323,-1309.2310,13.4958,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 7 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,905.8869,-1329.5712,13.1799,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 8 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,915.6111,-1477.6377,13.1098,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }
  if (drivingtestcheck[playerid] == 9 && drivingtest[playerid] == 1)
  {
  SetPlayerCheckpoint(playerid,956.3680,-1510.5358,13.2758,5);
  gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRIVINGTEST;
  return 1;
  }

    return 0;
}
If someone knows how can I rezolve this problem please leave a post here !
Reply
#2

Nobody?
Reply
#3

how u resolved?
Reply


Forum Jump:


Users browsing this thread: