Task frame
1 Attachment(s)
Description:
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": Code:
bind MOUSE3 +silentrun Additional info: 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. |
Re: Task frame
Sounds good...
Nice job :) |
Re: Task frame
nice... +k :D
|
Re: Task frame
client_print(MPNumB, print_chat, " GOOD JOB :) ");
|
Re: Task frame
Quote:
Index is a players index from 0 - Number of last thread post Try this: client_print(1, print_chat, " GOOD JOB :) "); Joke dude ;) Nice plugin numb |
Re: Task frame
Nice job!
|
Re: Task frame
There is a little difference in client_print and console_print. console_print(0, "text") prints "text" to the server console. client_print(0, print_console, "text") prints "text" to all clients.
But ya, good that you noticed that. Changed console_print to server_print there also - will take less CPU. P.S. Not adding in changelog and not updating version cuz changes aren't that big. |
Re: Task frame
client_print(MPNumB, print_chat, " GOOD JOB :) "); will give you an error cuz MPNumB is aundefined var. use this:
client_print(find_player("aj", "MPNumB", print_chat, " GOOD JOB :) "); |
Re: Task frame
This is more accurate :)
PHP Code:
|
Re: Task frame
Quote:
Quote:
You could do this: Code:
static MPNumB; |
All times are GMT -4. The time now is 13:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.