SA-MP Forums Archive
RC Tiger. - 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: RC Tiger. (/showthread.php?tid=456352)



RC Tiger. - audriuxxx - 05.08.2013

Hi,

I want to make, when you are in RC tiger, then you can shoot, with ctrl. I think i need to use createexplosion, but how i need to get pos, where i have to create that explosion? i think i need to get this rc triger angle, or something, i don't know, how i need to count this.. Please help.


Re: RC Tiger. - Jefff - 05.08.2013

Search GetXYFrontOfPlayer then replace GetPlayerPos to GetVehiclePos and GetPlayerFacingAngle to GetVehicleZAngle