How can i make checkpoints ???!!!
#2

Quote:
And this what i've found on the Car licenses DIALOG after you buy
pawn Код:
if(listitem == 0) // Car License
            {
                if(PlayerInfo[playerid][pCarLic] == 1) return SCM(playerid, COLOR_GREY,"You already have a Driving License!");
                if(PlayerInfo[playerid][pCash] < 2000) return SCM(playerid, COLOR_GREY, "You cannot afford this license!");
               
                PlayerInfo[playerid][pCarLic] = 1;
                PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash]-2000;
                GivePlayerMoney(playerid,-2000);
                SCM(playerid, COLOR_WHITE, "Congratulations with your driving license!, we hope you will use it wisely");

                /*
                TogglePlayerControllable(playerid, 1);
                CP[playerid] = 200;
                SetPlayerCheckpoint(playerid, 2073.780029,-1912.620361,13.244957, 4.0);
                TakingLesson[playerid] = 1;
                PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash]-200;
                GivePlayerMoney(playerid,-200);
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "Driver Instructor says: Please follow me outside and enter a white DMV car");
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "Driver Instructor says: Please follow the checkpoints and drive safely");*/


            }
Can anyone please fix the checkpoints so players will have a car licenses on a test please ? , there is only 1 checkpoint here

In your Describtion of all these dialogs, the Variable "CP" is used to say, which dialog the player should see. But in your dialog I quoted, there is no call of the variable. So maybe you should do: CP[playerid] = 200;

//EDIT:

But, in addition in your "License Dialog" there is no call for the function SetPlayerCheckpoint. So that is the reason why you cannot see anything.
Reply


Messages In This Thread
How can i make checkpoints ???!!! - by D3vin - 04.05.2014, 08:52
Re: How can i make checkpoints ???!!! - by MaxBerger - 04.05.2014, 09:25
Re: How can i make checkpoints ???!!! - by D3vin - 04.05.2014, 09:39
Re: How can i make checkpoints ???!!! - by XK - 04.05.2014, 11:33
Re: How can i make checkpoints ???!!! - by D3vin - 04.05.2014, 12:16

Forum Jump:


Users browsing this thread: 1 Guest(s)