30.03.2014, 20:43
This is one of mine working
Try replacing it with PlayerToPoint (or it is the same - i'm really confused now)
pawn Код:
if(PlayerToPoint(7.0, playerid, 1823.5610,-1837.4493,12.9758))
{
if(Bustor[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, 1703.8719,-1810.4819,12.9258, 5.0);
}
}
if(PlayerToPoint(7.0, playerid, 1703.8719,-1810.4819,12.9258))
{
if(Bustor[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, 1692.0139,-1744.6976,12.9660, 5.0);
}
}