PlayerLookingAtVehicle [Question] - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PlayerLookingAtVehicle [Question] (
/showthread.php?tid=195009)
PlayerLookingAtVehicle [Question] -
scottyishere - 01.12.2010
Hello.
Do you know any possibility how to show if a player is looking at what car ID and which is closer?
Thanks in advance
Re: PlayerLookingAtVehicle [Question] -
xxmitsu - 01.12.2010
Search the forums for IsPlayerLookingAtPoint function.
Re: PlayerLookingAtVehicle [Question] -
scottyishere - 01.12.2010
Great, thanks a lot.
Re: PlayerLookingAtVehicle [Question] -
scottyishere - 03.12.2010
Quote:
Originally Posted by xxmitsu
Search the forums for IsPlayerLookingAtPoint function.
|
Actually, I had a look and the GetPlayerCameraUpVector has been removed since 0.3b.
Does anyone have a ALT?
Source:
https://sampforum.blast.hk/showthread.php?tid=136868
Re: PlayerLookingAtVehicle [Question] -
Mauzen - 03.12.2010
GetPlayerCameraUpVector was removed, but not FrontVector, which is used in that include. So it still works.
Re: PlayerLookingAtVehicle [Question] -
scottyishere - 03.12.2010
Quote:
Originally Posted by Mauzen
GetPlayerCameraUpVector was removed, but not FrontVector, which is used in that include. So it still works.
|
both are used