[HELP] IsPlayerInRangeOfPoint
#1

Hello there, so i have little problem i don't get it how does i can make IsPlayerInRangeOfPoint thing work if i am on other world and interior, problem is it's not working for me in other interior and world.

My code and btw, the text just means you are not at passport creation point thats it nothing else.
PHP код:
if(IsPlayerInRangeOfPoint(playerid3.0,358.4289,182.3894,1008.3828)) return SendClientMessage(playerid,COLOR_GREY,"Tu neatrodies pases iznemsanas punkta"); 
Reply
#2

Doesn't matter where you are, but the coordinations must be correct. And btw if this:
Код HTML:
SendClientMessage(playerid,COLOR_GREY,"Tu neatrodies pases iznemsanas punkta");
means that you AREN'T somewhere, then you should do this:
Код HTML:
if(!IsPlayerInRangeOfPoint(playerid, 3.0,358.4289,182.3894,1008.3828))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)