SA-MP Forums Archive
Confused, why isnt this working? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Confused, why isnt this working? (/showthread.php?tid=250861)



Confused, why isnt this working? - Tommy_Mandaz - 24.04.2011

pawn Код:
Solved Thanks
Anyone can explain please why this isnt working and why after the first checkpoint nothing happens? Also please try to fix it if you can.


Re: Confused, why isnt this working? - Jefff - 24.04.2011

pawn Код:
if(GettingDLesson[playerid] == 1) // Muste be != 0 or > 0 or without == 1
    {
        if(playerState == PLAYER_STATE_DRIVER)
        {
            if(GetPlayerVehicleID(playerid) == DrivingLicCar[0])
            {
                if(GettingDLesson[playerid] == 1)
                {
                    GettingDLesson[playerid] = 2;
                    SetPlayerCheckpoint(playerid, -178.1308,1100.7589,19.3601, 5.0);
                }



Re: Confused, why isnt this working? - Tommy_Mandaz - 24.04.2011

Aha how did I not see that, thanks !