Raised This Month: $32 Target: $400
 8% 

Line of code (register_event)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xOscar
BANNED
Join Date: Nov 2012
Old 11-24-2012 , 11:32   Line of code (register_event)
Reply With Quote #1

Hi, what do this line of code mean? (See bold)
I know it means: 2 could not be 0 etc, but what is 2?

Code:
register_event("Damage", "on_damage", "b", "2!0", "3=0", "4!0")



Last edited by xOscar; 11-24-2012 at 11:32.
xOscar is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 11-24-2012 , 12:20   Re: Line of code (register_event)
Reply With Quote #2

http://wiki.amxmodx.org/Half-Life_1_Game_Events#Damage

second argument is DamageTake
jimaway is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-24-2012 , 14:28   Re: Line of code (register_event)
Reply With Quote #3

http://www.amxmodx.org/funcwiki.php?...vent&go=search
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
xOscar
BANNED
Join Date: Nov 2012
Old 11-24-2012 , 14:39   Re: Line of code (register_event)
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
Forgot to tell you that I ofc did search on funcwiki.
But that wasn't enough help, check the first post.

Thanks..
xOscar is offline
Reply


Thread Tools
Display Modes

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 09:55.


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