SA-MP Forums Archive
how would i do this - 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: how would i do this (/showthread.php?tid=284037)



how would i do this - Zonoya - 17.09.2011

Hello guys how would i make a Pitch Indicator for a plane i need to figure out how to make the rotation needed to make it can anyone help?

Like GetVehicle Rotation but i need to use the RX and RZ areas for my script how would i do this?


Re: how would i do this - [MWR]Blood - 17.09.2011

Simple - get the Z coordinate of the player, and display it, if that's what you mean.


Re: how would i do this - =WoR=Varth - 17.09.2011

GTA SA have pitch indicator by default in Radar. (Or what is Pitch Indicator? O.o)


Re: how would i do this - Zonoya - 17.09.2011

no thats not wat im trying to do ill show u goto this link = http://i.imgur.com/fcTsp.png and look at it it has a pitch indicator how i do that? its the thing at the bottom right and also how would i do the thing at the top center?


Re: how would i do this - [MWR]Blood - 17.09.2011

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
Simple - get the Z coordinate of the player, and display it, if that's what you mean.
Do this!
https://sampwiki.blast.hk/wiki/GetPlayerPos


Re: how would i do this - =WoR=Varth - 17.09.2011

https://sampwiki.blast.hk/wiki/GetVehicleRotationQuat may help you.


Re: how would i do this - iPLEOMAX - 17.09.2011

I could help, but I really have no idea about a "Pitch Indicator"..


Re: how would i do this - =WoR=Varth - 17.09.2011

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
I could help, but I really have no idea about a "Pitch Indicator"..
It's the indicator of the plane nose (Up/Down).


Re: how would i do this - Zonoya - 17.09.2011

yeah


Re: how would i do this - Zonoya - 17.09.2011

Anyone?