SA-MP Forums Archive
Trunk check - 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: Trunk check (/showthread.php?tid=616978)



Trunk check - SamJust - 13.09.2016

Hello guys! I was wondering, is there an easy way of checking if a player next to a car's trunk or bonnet? Without of having to get vehicle rotation and count out trunk's and bonnet's coords.


Re: Trunk check - SamJust - 14.09.2016

up..


Re: Trunk check - PrawkC - 14.09.2016

There isn't.. you can search around though and easily find snippets to do it for you.


Re: Trunk check - ISmokezU - 14.09.2016

You could with emmet_'s extended vehicle function

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


Re: Trunk check - Fairuz - 14.09.2016

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


Re: Trunk check - ISmokezU - 15.09.2016

Quote:
Originally Posted by Dice_
Посмотреть сообщение
Are you retarded or something ?


Re: Trunk check - Threshold - 15.09.2016

It's actually relatively easy to do, and there are many many many threads that have this exact problem solved, if you'd taken the time to search for it before posting.

https://sampwiki.blast.hk/wiki/GetVehicleModelInfo
https://sampwiki.blast.hk/wiki/GetVehicleModel
http://lmgtfy.com/?q=how+to+do+maths