Can Actor React To Client's Behaviour? - 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: Can Actor React To Client's Behaviour? (
/showthread.php?tid=574383)
Can Actor React To Client's Behaviour? -
Ritzy2K - 16.05.2015
Can an actor respond to client? for example.. in a shop / interior.. or anywhere in this holy world..someone aims at an actor and he/she reacts..puts hand up...and when a bullet is shot else where actor crouch..
there can be many cases id like to correspond both user and actor...can be boost for rps etc and imagination is unlimited.
thanks.
Re: Can Actor React To Client's Behaviour? -
J0sh... - 16.05.2015
Yes,
https://sampwiki.blast.hk/wiki/GetPlayerTargetActor.
I'm not sure about the bullet thing though.
Re: Can Actor React To Client's Behaviour? -
Stanford - 16.05.2015
I think that it can apply the animation (check Emmet's extended Actors functions as it may help you).
But remember Actors can hardly replace NPCs (that's why NPCs were kept though)
Re: Can Actor React To Client's Behaviour? -
Ritzy2K - 16.05.2015
Thanks mate...
i got evil ideas and holidays ahead you know :P