Need Help with Progress2.inc
#5

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
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
Yes , X1,Y1,Z1 = Cargo Bob pos
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;
}
I'm not sure but i think that's how it's used ..
Reply


Messages In This Thread
Need Help with Progress2.inc - by SpikY_ - 02.08.2015, 09:05
Re: Need Help with Progress2.inc - by Mariciuc223 - 02.08.2015, 09:34
Re: Need Help with Progress2.inc - by SpikY_ - 02.08.2015, 09:37
Re: Need Help with Progress2.inc - by SpikY_ - 02.08.2015, 09:39
Re: Need Help with Progress2.inc - by Mariciuc223 - 02.08.2015, 09:42
Re: Need Help with Progress2.inc - by SpikY_ - 02.08.2015, 09:44
Re: Need Help with Progress2.inc - by Mariciuc223 - 02.08.2015, 09:47
Re: Need Help with Progress2.inc - by SpikY_ - 03.08.2015, 12:55
Re: Need Help with Progress2.inc - by SecretBoss - 03.08.2015, 13:22

Forum Jump:


Users browsing this thread: 4 Guest(s)