27.06.2015, 19:55
Delete
from
Then, it should be:
By the way, you have to remove the old code from OnPlayerEnterDynamicCP.
Best regards.
pawn Код:
BD_Checkpoint1 = CreateDynamicRaceCP(1,1483.852905,-1735.809814,13.007884,1532.771606,-1676.417602,13.007629,3,-1,-1,playerid,10000.0); /* Pershing Square */
pawn Код:
if(checkpointid == BD_Checkpoint9)
{
DestroyDynamicRaceCP(BD_Checkpoint9);
GivePlayerMoney(playerid, 20000);
SendClientMessage(playerid, white, "[ BUSS DRIVER: Arrived At The Hospital. Route Completion Bonus: $20,000. ]");
BD_Checkpoint1 = CreateDynamicRaceCP(1,1483.852905,-1735.809814,13.007884,1532.771606,-1676.417602,13.007629,3,-1,-1,playerid,10000.0); /* Pershing Square */
return 1;
}
pawn Код:
if(checkpointid == BD_Checkpoint9)
{
DestroyDynamicRaceCP(BD_Checkpoint9);
GivePlayerMoney(playerid, 20000);
SendClientMessage(playerid, white, "[ BUSS DRIVER: Arrived At The Hospital. Route Completion Bonus: $20,000. ]");
return 1;
}
Best regards.
