Jump to content

stopping animation is not working://


Xwad

Recommended Posts

HI i want to stop the animation with the timer but the ds3 is always saying: Bad argumentum:(

function tazershootserverside ( ) 
    setPedAnimation ( source, "RIFLE", "RIFLE_load") 
    toggleControl (source, "fire", false) 
    setTimer(toggleControl, 5000, 1, source, "fire", true) 
    setTimer( stopAnim, 2000, 1 ) 
end 
addEvent ( "ontazershoot", true ) 
addEventHandler ( "ontazershoot", root, tazershootserverside ) 
  
  
  
  
  
function stopAnim (source) 
setPedAnimation (source) 
end 
  

Link to comment
function tazershootserverside ( )  
    toggleControl (source, "fire", false) 
    setTimer(toggleControl, 5000, 1, source, "fire", true) 
    setPedAnimation ( source, "RIFLE", "RIFLE_load") 
    setTimer(setPedAnimation, 2000, 1, source, false) 
end 
addEvent ( "ontazershoot", true ) 
addEventHandler ( "ontazershoot", root, tazershootserverside ) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...