Code aint working
#2

Try putting an else if set around the test part. Like:

pawn Код:
if(IsADL(newcar))
{
     if (drtest[playerid] != 0)
     {
          SendClientMessage(playerid, COLOR_RED, " You did not pay to take a test yet! ");
          RemovePlayerFromVehicle(playerid);
          return 1;
     }
     else
     {
          SendClientMessage(playerid, COLOR_GREEN, "Driving Instructor: Follow the Red markers and complete the     track. Dont damage the car!");
          drtest[playerid] = 2;
          DLicense(playerid);
          gPlayerCheckpointStatus[playerid] = CHECKPOINT_DRTEST;
          return 1;
     }
}
Reply


Messages In This Thread
Code aint working - by iLcke - 21.11.2010, 01:55
Re: Code aint working - by randomkid88 - 21.11.2010, 04:12
Re: Code aint working - by Grim_ - 21.11.2010, 06:06
Re: Code aint working - by iLcke - 21.11.2010, 16:53
Re: Code aint working - by randomkid88 - 21.11.2010, 20:24
Re: Code aint working - by iggy1 - 21.11.2010, 20:26
Re: Code aint working - by randomkid88 - 21.11.2010, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)