01.04.2009, 14:04
AI Critical Hit
I thought this would be a nice health detection system for all kinds of game modes. I also added in a critical hit system that runs randomly based on numbers you put in. As in all my scripts, the custom variables to mod the way the script is are easy to understand.
Download
PWN + AMX (http://www.mediafire.com/?wj1y1ouux4o)
AMX (http://www.mediafire.com/?zgw0mjidlyz)
Pastebin (http://pastebin.com/f7a462064)
As always, post any suggestions you would like to see and I will add them
I thought this would be a nice health detection system for all kinds of game modes. I also added in a critical hit system that runs randomly based on numbers you put in. As in all my scripts, the custom variables to mod the way the script is are easy to understand.
Код:
//----[Custom Stats]------------------------------------------------------------ new criticalpercent = 5; // % chance that a hit will be a critical hit. new criticalamount = 2; // Damage multiplier for critical hit 2 = 2x damage. new timerspeed = 1; // How fast the health detection timer is in seconds. //------------------------------------------------------------------------------
PWN + AMX (http://www.mediafire.com/?wj1y1ouux4o)
AMX (http://www.mediafire.com/?zgw0mjidlyz)
Pastebin (http://pastebin.com/f7a462064)
As always, post any suggestions you would like to see and I will add them