[Not Solved] Why the SetPlayerCheckpoint Is not working!! -
Ben147 - 08.08.2009
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?
Re: Why the SetPlayerCheckpoint Is not working!! -
brett7 - 08.08.2009
remeber you can only have one checkpoint at a time
Re: Why the SetPlayerCheckpoint Is not working!! -
Ben147 - 08.08.2009
I have 2 here?
Re: Why the SetPlayerCheckpoint Is not working!! -
Ben147 - 08.08.2009
No one CAN HELP?!
Re: Why the SetPlayerCheckpoint Is not working!! -
brett7 - 08.08.2009
you can only have 1 checkpoint at a time so you need to use a checkpoint streamer
Re: Why the SetPlayerCheckpoint Is not working!! -
Ben147 - 08.08.2009
Maybe That is the problem.
Re: Why the SetPlayerCheckpoint Is not working!! -
Ben147 - 08.08.2009
Damn i tryed the streamer to still when i up on the checkpoint its despair.
Re: [Not Solved] Why the SetPlayerCheckpoint Is not working!! -
Ben147 - 09.08.2009
CAN SOMEBODY HELP?!
Re: [Not Solved] Why the SetPlayerCheckpoint Is not working!! -
SampStunta - 09.08.2009
Dont triple post Ben
Re: [Not Solved] Why the SetPlayerCheckpoint Is not working!! -
dice7 - 09.08.2009
Just read the readme from the streamer