// Also add score-points to the score of the player based on the distance between the loading and unloading points
if (Distance > 3000.0)
RewardPlayer(playerid, 0, 2); // Distance is larger than 3000 units, so add 2 points
else
RewardPlayer(playerid, 0, 1); // Distance is less than 3000 units, so add 1 point