IsPlayerNearAnyRobberyArea
#3

Quote:
Originally Posted by Teemo
Посмотреть сообщение
pawn Код:
IsPlayerNearAnyRobberyArea(playerid)
{
        if( IsPlayerInRangeOfPoint( playerid, 3.0, 381.647399, -56.551239, 1001.515136) || IsPlayerInRangeOfPoint( playerid, 3.0, 810.491821, -1616.179199, 13.546875) || IsPlayerInRangeOfPoint( playerid, 3.0, 1070.025268, 249.608657, 536.092712) )
        {
            return true; //if player is near we will return true;
        }
         return false;
}
In these lines, Why are you using return true/false? Just make it normal, return 1;

That was my suggestion, I am not sure.
I don't really think thats the problem.. lol
Reply


Messages In This Thread
IsPlayerNearAnyRobberyArea - by vassilis - 01.05.2014, 17:46
Re: IsPlayerNearAnyRobberyArea - by Teemo - 01.05.2014, 17:50
Re: IsPlayerNearAnyRobberyArea - by vassilis - 01.05.2014, 17:50
Re: IsPlayerNearAnyRobberyArea - by Teemo - 01.05.2014, 17:54
Re: IsPlayerNearAnyRobberyArea - by Konstantinos - 01.05.2014, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)