extra dmg to a random bullet
Hi everyone, what would be the mechanism of adding extra damage to a random bullet. Let's say 5% chance to make 20% more damage with a bullet.
This is what I'm using just now: Code:
Cheers. |
Re: extra dmg to a random bullet
It's not exactly only bullets but that can be changed.
Code:
|
Re: extra dmg to a random bullet
Thx indeed, I'll give it a try this afternoon.
|
Re: extra dmg to a random bullet
HamSandwich module is more suitable for such kind of things.
|
Re: extra dmg to a random bullet
This is what it does: it adds a frag if I kill somebody, but the death message is screwed up.
It first shows that I killed a bot with ak47, but then shows the same death message indicating that I killed the bot with world kill or something (duplicate death message). Although it adds only one frag as it should. [img]http://img255.**************/img255/9725/deaztec0000xh1.png[/img] |
Re: extra dmg to a random bullet
Try this :
Code:
|
Re: extra dmg to a random bullet
Where do I add this?
client_print(idinflictor, print_chat, "[VIP] BONUS HIT."); Does it mean I need to upgrade amxx to 1.8 ? So far I just added hansandwitch module, seems it's running fine. Unable to test it properly without any output from plugin about its activity, tried to set the chance of extra dmg to 100 and dmg multiplier, but it seems that you need to cause usual ammount of dmg to kill an apponent. |
Re: extra dmg to a random bullet
edited the code
|
Re: extra dmg to a random bullet
No activity, although set "randombullet_chance", "50"
|
Re: extra dmg to a random bullet
Do you have the module?
|
| All times are GMT -4. The time now is 11:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.