SA-MP Forums Archive
Finding The Road And Planting The Bomb On It... - 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: Finding The Road And Planting The Bomb On It... (/showthread.php?tid=362379)



Finding The Road And Planting The Bomb On It... - Littlehelper - 24.07.2012

Hello guys,
I've created a C4 system..
but i do not understand how should i make it place to the ground with command /plant.
It can be easy with MapAndreas but dont want to use it just for one simple FS.
I believe there is another "SIMPLE WAY" of finding the Z.
Any help regarding this will be appreciated.
Thanks.


Re: Finding The Road And Planting The Bomb On It... - [MM]RoXoR[FS] - 24.07.2012

GetPlayerPos(X,Y,Z)

I think you will need to do z= z-1.5 to get Z


Re: Finding The Road And Planting The Bomb On It... - Littlehelper - 24.07.2012

Quote:
Originally Posted by [MM]RoXoR[FS]
Посмотреть сообщение
GetPlayerPos(X,Y,Z)

I think you will need to do z= z-1.5 to get Z
Does not work, anyone else?