SA-MP Forums Archive
Ground detection? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Ground detection? (/showthread.php?tid=169170)



Ground detection? - mysql - 18.08.2010

Is it possible for server to detect ground?
Example: input x, y and you get z ground pos


Re: Ground detection? - -Davee- - 18.08.2010

Quote:
Originally Posted by mysql
Посмотреть сообщение
Is it possible for server to detect ground?
Example: input x, y and you get z ground pos
Yes with this plugin: https://sampforum.blast.hk/showthread.php?tid=120013


Re: Ground detection? - lolumadd - 18.08.2010

If you have a bot in your server, set the bot to the position of where you want to detect the ground. Set the virtual world to something else, and check his animation if he is falling. If the animation is not falling, he is on the ground. Find his coordinates.

NOTE: Set the bots health to 99999999


Re: Ground detection? - mysql - 18.08.2010

tnx for the plugin and btw bots dont fall, they will stand where server puts it!


Re: Ground detection? - Sergei - 18.08.2010

NPC won't fall, it will stay in the air.

PS: Fucking 150 seconds limit. Now mysql beat me