Show Damage Plus
SHOW DAMAGE PLUS RESET / TIME PROBLEM
Hi friends, there is a combo and hits plugin in this plugin I want the Combo and Hits to be reset, but I can't Combo : Will be reset after 2 seconds but every time we do damage for 2 seconds, it will go back to 2 seconds again Hits : When we move to the new round, we will clear everyone Hits PHP Code:
|
Re: Show Damage Plus
PHP Code:
PHP Code:
PHP Code:
PHP Code:
In all cases, that's not what I would do, since it would not guarantee that 2 seconds would pass between combo resets, it could take between 1 and 2 seconds inconsistently. I would do this instead: PHP Code:
|
Re: Show Damage Plus
You don't need set_task for this.
Use get_gametime and check if the time is larger than current time or not PHP Code:
|
Re: Show Damage Plus
Quote:
Code:
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\czero\addons\amxmodx\scripting\Show_Damage_Plus.sma(37 -- 38) : warning 213: tag mismatch |
Re: Show Damage Plus
Quote:
PHP Code:
PHP Code:
The set_message he didn't add efffets parameter on the original code but I didn't check Edited of the other post |
All times are GMT -4. The time now is 10:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.