Raised This Month: $ Target: $400
 0% 

kill players with damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wuu
Member
Join Date: Apr 2008
Old 05-16-2010 , 15:26   kill players with damage
Reply With Quote #1

Should this kill player instantly?

PHP Code:
fakedamage(all[i],"Damage",20.0256
Search is so f***, i can find nothing
Wuu is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 05-16-2010 , 16:35   Re: kill players with damage
Reply With Quote #2

Code:
#include < amxmodx > #include < hamsandwich > user_kill( iPlayer ); // <a href="http://www.amxmodx.org/funcwiki.php?go=func&id=169" target="_blank" rel="nofollow noopener">http://www.amxmodx.org/funcwiki.php?go=func&id=169</a> user_silentkiller( iPlayer ); // <a href="http://www.amxmodx.org/funcwiki.php?go=func&id=404" target="_blank" rel="nofollow noopener">http://www.amxmodx.org/funcwiki.php?go=func&id=404</a> ExecuteHam( Ham_Killed, iPlayer, 0, 0 ); ExecuteHam( Ham_TakeDamage, iPlayer, 0, 0, 100.0, DMG_GENERIC );

Take your pick. The fakedamage through engine, like you posted in your first post, should work too. Just set the damage to 100 or above.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
Wuu
Member
Join Date: Apr 2008
Old 05-17-2010 , 11:14   Re: kill players with damage
Reply With Quote #3

All this stuff really need some good manual or wiki, even google can't find anything about Ham_TakeDamage. Most of time i spend searching, searching and searching

Anybody want to give skype name, for support?
Wuu is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 05-17-2010 , 12:11   Re: kill players with damage
Reply With Quote #4

Take a look here: http://www.amxmodx.org/funcwiki.php and you could also check in scripting/includes.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:43.


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