Actor
#2

You could use GetPlayerTargetPlayer to get the being aimed at, player id

https://sampwiki.blast.hk/wiki/GetPlayerTargetPlayer

then just use it on OnPlayerUpdate to check if he's aiming or not and do some action
Reply


Messages In This Thread
Actor - by MrAhmed - 06.05.2017, 11:37
Re: Actor - by ShihabSoft - 06.05.2017, 11:45
Re: Actor - by MrAhmed - 06.05.2017, 11:52
Re: Actor - by ShihabSoft - 06.05.2017, 11:57
Re: Actor - by MrAhmed - 06.05.2017, 13:06
Re: Actor - by MrAhmed - 06.05.2017, 19:55

Forum Jump:


Users browsing this thread: 1 Guest(s)