02.08.2015, 09:42
Quote:
You mean it will get The distance remain between cargobob and the checkpoint?
If yes, Then how can i use it with my codes :c |
X2,Y2,Z2 = Reach point
It will get position in meters (i think)
Код HTML:
if(GetPosition(100.0, 50.0, 11.5, 200.0, 50.0, 11.0) < 50.0) { new String[128]; format(String, sizeof(String), "You are at the distance of %0.2f from point !", GetPosition(100.0, 50.0, 11.5, 200.0, 50.0, 11.0)); SendClientMessage(playerid, -1, String); return 1; }