SA-MP Forums Archive
Help with robbank system - 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: Help with robbank system (/showthread.php?tid=605401)



Help with robbank system - VenusDarkX - 18.04.2016

I just looking for some func that can apply animations for actor when player aiming at them. I tried to search and found some actor func of Emmet : https://sampforum.blast.hk/showthread.php?tid=573504. But it was deleted , please help me!! P/S: sorry about bad English


Re: Help with robbank system - Saliim - 18.04.2016

Hi, there is nothing to complicate you put a checkpoint and the checkpoint you put animation robber, the ride is play


Re: Help with robbank system - VenusDarkX - 18.04.2016

thanks for your idea, maybe I will use it


Re: Help with robbank system - Saliim - 18.04.2016

No problиm, if you wan't a help call me


Re: Help with robbank system - Diovis - 18.04.2016

You can use ApplyAnimation in order to force a player to do an animation

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

I believe this is what you were asking


Respuesta: Help with robbank system - aoEXE - 18.04.2016

This include is currently developed by Admingo... or so I think

https://sampforum.blast.hk/showthread.php?tid=604223


Re: Respuesta: Help with robbank system - VenusDarkX - 19.04.2016

thanks a lot!! Dude!


Re: Help with robbank system - itsCody - 19.04.2016

If you want that type of robbery system you'll have to detect if a player is aiming/stopped aiming at an actor, and do other stuff.

Here's some links to help you get started.

https://sampwiki.blast.hk/wiki/GetPlayerTargetActor
https://sampwiki.blast.hk/wiki/ApplyActorAnimation