15.05.2010, 12:08
Hello, I made a checkpoint, under OnPlayerSpawn, I didn't want it to show on map when a player spawns, so I added IsPlayerInRangeOfPoint. But the checkpoint isn't showing, that's the problem.
THIS IS UNDER ONPLAYERSPAWN
THIS IS UNDER ONPLAYERSPAWN
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, -1422.1245,-288.1826,14.1484))
{
SetPlayerCheckpoint(playerid,-1422.1245,-288.1826,14.1484, 3.1);
}
return 1;