EnablePlayerCameraTarget
#2

You can use: https://sampwiki.blast.hk/wiki/GetPlayerCameraTargetObject
and I'm not sure if NPCs are targeted as "players": https://sampwiki.blast.hk/wiki/GetPlayerCameraTargetPlayer
If it does, a simply check (IsPlayerNPC) would be a good way to do this.
Reply


Messages In This Thread
EnablePlayerCameraTarget - by iWhite - 06.05.2015, 13:36
Re: EnablePlayerCameraTarget - by Konstantinos - 06.05.2015, 13:39
Re: EnablePlayerCameraTarget - by iWhite - 06.05.2015, 13:42
Re: EnablePlayerCameraTarget - by Konstantinos - 06.05.2015, 13:53
Re: EnablePlayerCameraTarget - by MP2 - 06.05.2015, 14:28
Re: EnablePlayerCameraTarget - by iWhite - 06.05.2015, 15:17
Re: EnablePlayerCameraTarget - by MP2 - 06.05.2015, 15:35
Re: EnablePlayerCameraTarget - by Pottus - 06.05.2015, 16:20

Forum Jump:


Users browsing this thread: 2 Guest(s)