Can I ask what is this? I wrote nice plugin here, AM tiled and my script is gone!
Didn't understand do you want walk speed when ducking, or run speed when ducking and walking, still...
You would check it in prethink, and just set the speed, also...
I think IN_WALK = !IN_RUN, !IN_DUCK, like this:
Code:
if((~pev(id, pev_button) & IN_DUCK) || (~pev(id, pev_oldbuttons) & IN_DUCK))
//And same with IN_RUN also...