Arrest command issues
#3

pawn Код:
GetDistanceBetweenPlayers(playerid, id)
Seems to me like this is the problem. Paste the function here and we can look at it.

Or, use something like this:
pawn Код:
IsPlayerInRangeOfPlayer(playerid, id, Float:range)
{
    new Float:pX, Float:pY, Float: pZ;
    GetPlayerPos(id, pX, pY, pZ);
    if(IsPlayerInRangeOfPoint(playerid, range, pX, pY, pZ))
        return 1;
    else
        return 0;
}
Reply


Messages In This Thread
Arrest command issues - by DarkLored - 14.03.2014, 03:18
Re: Arrest command issues - by CuervO - 14.03.2014, 03:42
Re: Arrest command issues - by Ceathor - 14.03.2014, 06:32
Re: Arrest command issues - by mahardika - 14.03.2014, 06:55
Re: Arrest command issues - by DarkLored - 14.03.2014, 22:38
Re: Arrest command issues - by Patrick - 14.03.2014, 22:47
Re: Arrest command issues - by DarkLored - 14.03.2014, 22:53
Re: Arrest command issues - by DarkLored - 14.03.2014, 23:18
Re: Arrest command issues - by DarkLored - 15.03.2014, 01:20
Re: Arrest command issues - by CuervO - 15.03.2014, 01:35
Re: Arrest command issues - by DarkLored - 15.03.2014, 01:38
Re: Arrest command issues - by Ceathor - 15.03.2014, 02:15
Re: Arrest command issues - by DarkLored - 15.03.2014, 02:45

Forum Jump:


Users browsing this thread: 1 Guest(s)