Raised This Month: $ Target: $400
 0% 

Player should evade all bullets


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 06-22-2009 , 14:47   Re: Player should evade all bullets
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <hamsandwich>
public plugin_init()
     
RegisterHamHam_TakeDamage"player""ham_TakeDamage" );
public 
ham_TakeDamageidinflictorattackerFloat:damagedamagebits )
{
     if( 
damagebits == DMG_BULLET )
          return 
random_num0) ? HAM_IGNORED HAM_SUPERCEDE;
     return 
HAM_IGNORED;


Last edited by SnoW; 06-22-2009 at 14:50.
SnoW is offline
Send a message via MSN to SnoW
 



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 15:32.


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