Thread: Shooting Glitch
View Single Post
  #7  
Old 04-09-2006, 12:57 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
PHP Code:
  if (strequals(#p(1),a)&&this.inuse==1) { 
    
setani("idle"""); 
    
replaceani("idle""idle"); 
    
replaceani("walk""walk"); 
    
this.inuse=0
  } 
This could possibly be causing it.

Change the ' if (strequals(#p(1),a)&&this.inuse==1) { ' to 'if (params[1] == "a" && this.inuse == 1) {'

A+D will change weapons. It's possible that it's returning strequals(#p(1),a) as always being true?
Reply With Quote