help with vehicle angle - 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: help with vehicle angle (
/showthread.php?tid=340396)
help with vehicle angle -
speediekiller2 - 07.05.2012
how can i make that ive got a explosion under my plane that that explosion already rotates in the vehicle angle so to get the 9 explosion right under the plane
Re: help with vehicle angle -
HDFord - 07.05.2012
Try to use.
pawn Код:
GetPlayerPos(playerid);
GetPlayerFacingAngle(playerid, angle);
and when create the explosion with a little less z pos to create it under the plane.
I'n writing on my phone so PM with some more information and i'll make the code for you.