• How do I stop a animated gesture?
    3 replies, posted
This code repeats itself endlessly. I commented out the code, but i'd rather know why it does that. Does anyone know how to stop it from repeating? [CODE]self.Owner:AnimRestartGesture( GESTURE_SLOT_ATTACK_AND_RELOAD, ACT_GMOD_GESTURE_ITEM_PLACE )[/CODE]
Try [url]http://wiki.garrysmod.com/page/Player/AnimResetGestureSlot[/url]
I set to true, but the animation doesn't seem to stop. [I]self.Owner:AnimRestartGesture( GESTURE_SLOT_ATTACK_AND_RELOAD, ACT_GMOD_GESTURE_ITEM_PLACE, TRUE )[/I]
1) Try false in case you haven't already ( wiki can be lying ) 2) The animation itself may have looping flag, in which case you can't do anything, although it shouldn't be true 3) Try the function I posted
Sorry, you need to Log In to post a reply to this thread.