How to detect the ground height
#1

Hey guys, I am planning to make a bombing Rustler system for my Army VS Terrorists mode, my question is, let's say I am on a Rustler on 50 meters from the ground, or 40, or 60, how can I detect the ground height to set the Blow position ?
Can I either send a physical object and blow it when it touches something ? or ?
Reply
#2

MapAndreas:
https://sampforum.blast.hk/showthread.php?tid=275492

ColAndreas (better):
https://sampforum.blast.hk/showthread.php?tid=586068
Reply
#3

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
For ColAndreas, the ground Z of the current X and Y is:
PHP код:
CA_FindZ_For2DCoord(Float:xFloat:y, &Float:z
?
Reply
#4

Quote:
Originally Posted by NeXoR
Посмотреть сообщение
For ColAndreas, the ground Z of the current X and Y is:
PHP код:
CA_FindZ_For2DCoord(Float:xFloat:y, &Float:z
?
yes.
Reply
#5

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
yes.
Thank you.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)