How to detect if someone is near a spawned object in game?
#1

So basically I type a command to make the below happen...
Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateObject(677,x,y,z-1,0,0,0);
That's fine, but what I need to do is figure out a way to see if someone is near that object that was created by the command, some help here?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 8 Guest(s)