Raised This Month: $51 Target: $400
 12% 

How to detect grenade damage in the Ham_takedamage function?


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-05-2008 , 14:03   Re: How to detect grenade damage in the Ham_takedamage function?
Reply With Quote #21

I will make sure I do.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 08-16-2014 , 02:55   Re: How to detect grenade damage in the Ham_takedamage function?
Reply With Quote #22

Quote:
Originally Posted by ot_207 View Post
Thanks arkshine! +k

Just another question what does the << operator do exactly?
I didn't quite understood from the tutorial ...
In this case 1<<24.
This will shift the bit pattern of 1 by 24 bits to the left.
see this

https://forums.alliedmods.net/showthread.php?t=239951
__________________

Last edited by ezio_auditore; 08-16-2014 at 03:05.
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-17-2014 , 04:48   Re: How to detect grenade damage in the Ham_takedamage function?
Reply With Quote #23

Quote:
Originally Posted by ezio_auditore View Post
In this case 1<<24.
This will shift the bit pattern of 1 by 24 bits to the left.
see this

https://forums.alliedmods.net/showthread.php?t=239951
You know that this therad is form 2008 and he actually has a tutorial about bits ?
__________________
HamletEagle 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 16:46.


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