Since 2009/Aprile/20 Half-Life update "_special" scripts no longer work. For some of us it's maybe needed to test some things for plugins what we are willing to create.
Usege:
task_frames <frame number> <command> - executes a command line in selected amount of frames.
For example I used this code to test is silent-run working in "Counter-Strike 1.6 Beta":
Additional info:bind MOUSE3 +silentrun
alias +silentrun "silentrun;alias sr silentrun"
alias -silentrun "alias sr"
alias silentrun "duck_1;duck_2;duck_3;duck_4;duck_5"
alias duck_1 "task_frames 1 +duck"
alias duck_2 "task_frames 2 -duck"
alias duck_3 "task_frames 22 +duck"
alias duck_4 "task_frames 24 -duck"
alias duck_5 "task_frames 32 sr"
Tested with amxmodx 1.8.1 on Counter-Strike 1.6.
Note:
Command can be executed only on person who started a lan game, or only in hlsd console if server is dedicated.
Change-Log:
* 1.0
- First release.
get plugin