29.07.2009, 04:33
i dont know why but when im going to the check point that marked in the map not happen nothing here is my script
Код:
else if(PlayerToPoint(2.0, playerid,1525.2194,-2431.9509,13.5547)) // Airport
{
if(PlayerInfo[playerid][pLevel] > 3)
{
if(PlayerInfo[playerid][pFlyLic] < 1)
{
if(pTestFly[playerid] == 0)
{
if(GetPlayerMoney(playerid) >= 3500)
{
SetPlayerRaceCheckpoint(playerid, 3,1453.5537,-2494.2000,14.2607,1806.5820,-2493.8647,14.2595,15.0);
GameTextForPlayer(playerid, "~r~Get in a testing plane",5000,3);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Get in a testing plane and go to the starting point");
pTestFly[playerid] = 1;
TakingLesson[playerid] = 1;
}
Код:
else if(IsAFlyingTest(tmpcar) && PlayerToPoint(15.0, i,1453.5537,-2494.2000,14.2607))
{
if (pTestFly[i] == 1)
{
SetPlayerRaceCheckpoint(i, 3,1806.5820,-2493.8647,14.2595,2235.0701,-2718.4248,59.8103,15.0);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}

