Damage
Whats the code to make the victim lose x hp each second?
x shall be a cvar. |
it's this:
Code:
|
if 'victim' is a player who has hp<100:
Code:
note: this plugin is a good way to get the server empty ! tested and works... :lol: |
Or if victim is player you pick.
Code:
|
Remember to check if the player is alive. If he's not you can either remove the task or not set his health so it does so when it's alive again.
|
i mean like if you do a command the target loses 1 hp each second untills he dies or if you cancel the command
|
FatalisDK just did that.
|
Use amx_loosehp <name> <how many times to loose hp>
0 means loose hp until death. Use the same command to cancel the loosehp. Code:
|
| All times are GMT -4. The time now is 05:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.