KEY_WALK and nothing happens?
#8

That was your problem:
pawn Код:
if(!PlayerToPoint(7.0,playerid,1554.9537,-1675.6584,16.1953))
{
However, use this (way better):
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;
    }
}
Reply


Messages In This Thread
KEY_WALK and nothing happens? - by Spiral - 07.01.2011, 17:12
Re: KEY_WALK and nothing happens? - by Joe Staff - 07.01.2011, 17:14
Re: KEY_WALK and nothing happens? - by Spiral - 07.01.2011, 17:15
Re: KEY_WALK and nothing happens? - by HyperZ - 07.01.2011, 17:17
Re: KEY_WALK and nothing happens? - by Spiral - 07.01.2011, 17:19
Re: KEY_WALK and nothing happens? - by HyperZ - 07.01.2011, 17:20
Re: KEY_WALK and nothing happens? - by Joe Staff - 07.01.2011, 17:20
Re: KEY_WALK and nothing happens? - by Toreno - 07.01.2011, 17:20
Re: KEY_WALK and nothing happens? - by Spiral - 07.01.2011, 17:23
Re: KEY_WALK and nothing happens? - by Joe Staff - 07.01.2011, 17:25

Forum Jump:


Users browsing this thread: 1 Guest(s)