View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-22-2019 , 15:47   Re: Avoid forwards (thinks, cmd)
Reply With Quote #11

It depends on which buttons, you already got alternatives in the posts above. For some things, you need to check continuously and it's perfectly fine, for others you have a better way - for example PrimaryAttack for IN_ATTACK. But you have to realize that PrimaryAttack still relies internally on frame forwards, it is called from ItemPostFrame which is in turn called from PostThink.

It seems you have a lot of scripting questions so you should post your questions in scripting help instead. Also search, you can find answers for your last question.
__________________

Last edited by HamletEagle; 05-22-2019 at 15:48.
HamletEagle is offline