Hi all,
I want to make a bind for a weapon with a wait inside it, but somehow it doesnt work.
however, it switches immediatly to the next weapon without the wait. How can you add a wait inside?Code:/bind r "+reload; wait 5; nextweap"
Hi all,
I want to make a bind for a weapon with a wait inside it, but somehow it doesnt work.
however, it switches immediatly to the next weapon without the wait. How can you add a wait inside?Code:/bind r "+reload; wait 5; nextweap"
IIRC years ago I think something like:
Code:/bind r "+reload; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; nextweap"
timescale 0.01
Ni3ls (6th March 2016)
The wait 5 waits 5 client frames. At 125 fps this is exactly 0.04 seconds, so hence the "immediately" feeling.
Use your client's fps as a multiplier for wait times in cfgs.
Also: there's a weird bug with wait, where even (or odd) times get rounded down. I dont remember which one it was, but wait 3 might act like wait 2 instead.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
kung foo man (6th March 2016),Ni3ls (6th March 2016)