Command. Distance showing.
#1

Hi all. I would like to know if is possible to do command which shows for player distance from object?

For example I have ocject:

Code:
  
new crateloc[30], string[128], rand = random(sizeof(g_CrateSpawns));

CrateObject = CreateDynamicObject(CRATE_MODEL_ID, g_CrateSpawns[rand][0], g_CrateSpawns[rand][1], g_CrateSpawns[rand][2]-0.4, -1, -1, -1); // Spawning the crate.
If it possible, how to do command for exaplme /whereobject and it will show for me distance from that object.
Reply


Messages In This Thread
Command. Distance showing. - by ,TomY' - 18.07.2016, 19:23
Re: Command. Distance showing. - by Mister0 - 18.07.2016, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)