[Not Solved] Why the SetPlayerCheckpoint Is not working!!
#1

Watch my script:

Код:
public DrivingTest3(playerid)
{
	ClearChatbox(playerid, 8);
 	SendClientMessage(playerid, COLOR_YELLOW, ":добзп дщрй");
	SendClientMessage(playerid, COLOR_YELLOW, " ");
 	SendClientMessage(playerid, COLOR_NEWS, "ъйст еътчеб мфй дсйоерйн");
 	SendClientMessage(playerid, COLOR_NEWS, "ъжлеш мщмеи бодйшеъ щмк");
 	SendClientMessage(playerid, COLOR_NEWS, "ан ътбеш аъ д- 80 чощ аъд ълщм");
	SendClientMessage(playerid, COLOR_YELLOW, " ");
 	SetPlayerCheckpoint(playerid,329.5655,-1536.8867,32.9324,5.0);
}


    public CheckForLicenseTestCheckpoint(i, tmpcar)
    {

	if(IsADrivingTest(tmpcar) && PlayerToPoint(3.0, i,615.7806,-1506.1498,14.9120))
	{
		if (pTest[i] == 1)
		{
			GameTextForPlayer(i, "~g~ тбшъ", 5000, 3);
			SendClientMessage(i, COLOR_LIGHTRED, "___________________________________");
			SendClientMessage(i, COLOR_NEWS, "тбшъ аъ добзп дшащеп");
			SendClientMessage(i, COLOR_NEWS, "ъълерп мобзп дазшеп");
			DisablePlayerCheckpoint(i);
			PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
			SetTimerEx("DrivingTest3", 100, 0, "d", i);
			pTest[i] = 2;
			
		}
	}

	else if(IsADrivingTest(tmpcar) && PlayerToPoint(12.0, i,329.5655,-1536.8867,32.9324))
	{
		if (pTest[i] == 2)
		{
			PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
			SetPlayerCheckpoint(i,343.8846,-1646.0770,32.7906,7.0);
		}
	}
The problem is when im going to 329.5655,-1536.8867,32.9324
the checkpoint disable and its not
SetPlayerCheckpoint(i,343.8846,-1646.0770,32.7906,7.0);


Can someone explain me what is wrong in my script?
Reply
#2

remeber you can only have one checkpoint at a time
Reply
#3

I have 2 here?
Reply
#4

No one CAN HELP?!
Reply
#5

you can only have 1 checkpoint at a time so you need to use a checkpoint streamer
Reply
#6

Maybe That is the problem.
Reply
#7

Damn i tryed the streamer to still when i up on the checkpoint its despair.
Reply
#8

CAN SOMEBODY HELP?!
Reply
#9

Dont triple post Ben
Reply
#10

Just read the readme from the streamer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)