18.07.2016, 19:23
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:
If it possible, how to do command for exaplme /whereobject and it will show for me distance from that 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.