AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Combo King (failed) (https://forums.alliedmods.net/showthread.php?t=85873)

hleV 02-17-2009 08:28

Combo King (failed)
 
2 Attachment(s)
I was trying to make a plugin called "Combo King".



Description:
When you kill an enemy, plugin checks what weapons did you use against him. If weapon IDs are more than 1 (used multiple weapons in order to kill the enemy), it adds +1 to your Combo-Kill count. After x amount of combos (set by CVAR) it announces you as Combo King, and then the counting starts over again.
Well, I didn't succeed in writing the plugin, so maybe someone will correct/rewrite the parts that I writen wrong. Thanks.
EDIT: I've realized that I made many dumb mistakes here. Gonna try fixing it myself.


All times are GMT -4. The time now is 16:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.