SA-MP Forums Archive
GetPlayerInfrontOfPlayer (Function) - 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: GetPlayerInfrontOfPlayer (Function) (/showthread.php?tid=364871)



GetPlayerInfrontOfPlayer (Function) - misho1 - 01.08.2012

Hi,
I Any One Know How To Make GetPlayerInfrontOfPlayer Because I Am Making Police Job For Server And I Need That Function To Know If The Police Infront Of Robber
And Please Don't Tell Me To Ask In Script Request Because No One Answer There
Thnx


Re: GetPlayerInfrontOfPlayer (Function) - willsuckformoney - 01.08.2012

From what I know, there is no GetPlayerInFrontOfPlayer already created, but there is similar functions like GetXYInFrontOfPlayer and GetClosestPlayer which can be used to get the player in front of you and can be modified to get the player in front of you.


Re: GetPlayerInfrontOfPlayer (Function) - misho1 - 01.08.2012

thnx