07.01.2011, 17:20
That was your problem:
However, use this (way better):
pawn Код:
if(!PlayerToPoint(7.0,playerid,1554.9537,-1675.6584,16.1953))
{
pawn Код:
if(newkeys == KEY_WALK)
{
if(IsPlayerInRangeOfPoint(playerid,7.0,1554.9537,-1675.6584,16.1953))
{
GameTextForPlayer(playerid, "~w~Police Department", 5000, 1);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,246.7079,66.2239,1003.6406);
PlayerInfo[playerid][pInt] = 6;
}
}