Re: Kill assist
|
Re: Kill assist
Now some tips. I just looked over the code. Probably i will look at the algorithm later.
__ Evaluate this: PHP Code:
Remove this: PHP Code:
|
Re: Kill assist
Quote:
|
Re: Kill assist
Quote:
Code:
This is a very nice plugin, gj! |
Re: Kill assist
Quote:
Quote:
and that ... well, I thought I'd make sure the var is cleared :} Quote:
------------------- New source uploaded, v1.0c =) Also, I want to make this to work for other mods as well, but I don't know team names for dod, etc... can anyone help me on making this for dod and other mods 'cause I don't know how they react and I don't have the games... |
Re: Kill assist
Was thinking about that when playing TF2, nice someone actually did it. However, here are some things you could/should change:
- Use get_cvar_pointer on amx_mode (check if it exists) - Use formatex where applicable - Why do you use g_bBlockDeathMsg? When you are not using emessages your plugin won't be able to block them anyway. |
Re: Kill assist
Quote:
- what's with formatex ? I didn't experiment much with formatting stuff, only format() - ooooh... riight :mrgreen: fixing :oops: thanks for input :} new source uploaded edit: oh, now I get the point with formatex, doesn't do a copyback, I don't use such thing in here so I could use that because it's faster... ok, done :P source uploaded... again |
Re: Kill assist
hamdatas.ini doesn't seems to support csv15 and cs13
Even setting @mirror cstrike csv15 i'm not sure it would work. |
Re: Kill assist
Awesome! I made request for similiar plugin 2 months ago. Maybe you can add more features:
http://forums.alliedmods.net/showthread.php?t=89068 |
Re: Kill assist
Really nice plugin, the code is extremely clean and just easy to read from. ;)
I have a few notes/questions though(probably stupid ones): 1) About iMinDamage = ch_pCVar_minDamage, why creating an extra var when you can just call it from first place iMinDamagePCVar or something? 2) About g_iDamage[p][iVictim] > iMinDamage, since it's the minimum damage, shouldn't it be: g_iDamage[p][iVictim] >= iMinDamage? 3) I think that this: PHP Code:
PHP Code:
4) I think you should create a global var to check the players' teams when they join a cretain team because not only that you use get_user_team everytime a player dies, you also use a loop and inside the loop you use that native so I just thought maybe it would be more efficient to create a global var instead... 5) Finally, I'd like to suggest you to add friendly fire compatibility. ;) Sorry for nagging and nice plugin! :up: |
| All times are GMT -4. The time now is 05:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.