17.07.2017, 15:53
Quote:
Can I make it with OnPlayerUpdate, and use GetPlayerTargetActor or not?
|
It is recommended under OnPlayerKeyStateChange if that is your use case.
EDIT: Wiki seems to be using OnPlayerUpdate so I now doubt if it is actually better. I don't know honestly.
https://sampwiki.blast.hk/wiki/GetPlayerTargetActor