Damage multiplier for all weapons
Hi, i'm trying to make a damage multiplier for all weapons, i can't make it work.
I have this: PHP Code:
I want to make this plugin only for rcon admins. Sorry for my bad english, thanks, jsaissac. |
Re: Damage multiplier for all weapons
PHP Code:
just change the cvar for different damage multiplication |
Re: Damage multiplier for all weapons
change
PHP Code:
PHP Code:
PHP Code:
|
Re: Damage multiplier for all weapons
Hi, thanks for help, but not work, and I think is missing this:
PHP Code:
|
Re: Damage multiplier for all weapons
PHP Code:
Moltiply is set with cvar amx_dmg_multiplier (by default set to 5) Try to set amx_cvar amx_dmg_multiplier 100 and any damage should kill oponent |
Re: Damage multiplier for all weapons
Don't work, autmatically detec if is an admin rcon and multiply his dmg? or it have to be activated by a comand?
|
Re: Damage multiplier for all weapons
It should automaticly detect if attacker has ADMIN_RCON flag and multiply his damage.
I assum you have required modules enabled in modules.ini and you have added your plugin to plugins.ini? Try this (ang give log to see thats wrong): PHP Code:
|
Re: Damage multiplier for all weapons
4 Attachment(s)
what i'm doing bad?
edit: yes i have steam, but i was testing with bots from nosteam. id: jsaissac |
Re: Damage multiplier for all weapons
Ham_TakeDamage has no effects on bots. Try with real player.
I have seen somewhere registering ham for entities (like bots), but i have never done that so I can't help you with this. |
Re: Damage multiplier for all weapons
Ok, i'm going to test with players.
EDIT: isn't working with players :/ |
| All times are GMT -4. The time now is 19:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.