SA-MP Forums Archive
need help here :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need help here :( (/showthread.php?tid=512761)



need help here :( - saikumar - 12.05.2014

i am thinking of making a find the moneybag system

i want to know is there anyway to know that how much feet or meters bla bla the player is away from pickup.

ex: if the m starteed and if type /dis it shows you are 1000 feets away from the money bag(pickup).

i saw it in some server

thanks in advance


Re: need help here :( - KarlZco - 12.05.2014

Here is one example
PHP код:
new string[64];
new 
distance GetPlayerDistanceFromPoint(playerid237.9115.61010.2)
format(stringsizeof(string), "The MoneyBag is %i meters away"distance);
SendClientMessage(playerid, -1string);