SAMPProjects / Open-SAMP-API

An open source API for GTA SA:MP
GNU Lesser General Public License v3.0
63 stars 15 forks source link

IsPlayerInRange2D and IsPlayerInRange3D doesnt work #4

Closed TheFilet closed 9 years ago

TheFilet commented 9 years ago

Hello The functions IsPlayerInRange2D and IsPlayerInRange3D doesnt work. Even if I select a radius of 3000 it always returns 0

agrippa1994 commented 9 years ago

Do functions like GetPlayerZ oder GetPlayerX work? Maybe there's a problem with reading data from the remote process

TheFilet commented 9 years ago

GetPlayerPos works fine.

ghost commented 9 years ago

I'm check it at the weekend.

marcelgerber commented 9 years ago

Should have been fixed with 41371afe212fd72cb73cc1531fad31814e024b34 - there was a bug in GetPlayerPosition. That bug shouldn't have affected IsPlayerInRange2D, though.

Could you please check back as soon as new binaries are available?

TheFilet commented 9 years ago

I'll check as soon as the new libs are out

mschnitzer commented 9 years ago

@TheFilet The new binaries are out: http://download.samp-api.net/3aa2bb0cef461a0ed6cef8cd/

If it still doesn't work, you can re open that issue.