16.07.2011, 02:10
pawn Код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 10, X, Y, Z)) // First checkpoint cordinates
{
SetPlayerRaceCheckpoint(...........);//Next Checkpoint
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 10, X, Y, Z)) // Second checkpoint cordinates
{
SetPlayerRaceCheckpoint(...........);//Next Checkpoint or you can give money or whatever
return 1;
}
return 1;
}