Eviltyphoon Posted April 7, 2009 Author Share Posted April 7, 2009 I get invalid procedure call or argument on this line:``` Call RemoveTimer("Woodcutting " & index)```Anyone know whats wrong? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted April 7, 2009 Share Posted April 7, 2009 @Ace:> I get invalid procedure call or argument on this line:> > ```> Call RemoveTimer("Woodcutting " & index)> ```> Anyone know whats wrong?I think it has to be:Call RemoveTimer("Woodcutting " & index & "," & script)"script" of course, being the timer number (I think) Link to comment Share on other sites More sharing options...
Eviltyphoon Posted April 7, 2009 Author Share Posted April 7, 2009 @Ã…ÃÂüiÑÂôζ:> I think it has to be:> Call RemoveTimer("Woodcutting " & index & "," & script)> "script" of course, being the timer number (I think)I don't think timers have numbers in Sadscript. Also, I checked Balliztics timer tutorial, and according to that, the command is completely correct. :lipsrsealed: Link to comment Share on other sites More sharing options...
Admiral Refuge Posted April 7, 2009 Share Posted April 7, 2009 @Ace:> I don't think timers have numbers in Sadscript. Also, I checked Balliztics timer tutorial, and according to that, the command is completely correct. :lipsrsealed:Yea, I see what you mean now… Though according to his tutorial, the syntax would be:```Call RemoveTimer("Message " & index & "," & text)```for the sub Message, I assume.Now, if you're completely sure it's not needed though, you may have better luck with one of these:Call RemoveTimer("Woodcutting " & index & "")Call RemoveTimer("Woodcutting " & index & ",")PS: Also, I looked in the "All Commands" topic in the announcement, for all the commands for EE2.7, and the above is also called with that syntax. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now