29.06.2014, 12:43
@Mathieu : IsPlayerInRangeOfPoint a йtй revu а la 0.3z. Maintenant la fonction marche plutфt comme зa :
pawn Code:
stock IsPlayerInRangeOfPoint_(playerid, Float:radius, Float:x, Float:y, Float:z)
{
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
if(VectorSize(x-pos[0], y-pos[1], z-pos[2]) <= radius) return true;
return false;
}

