Raised This Month: $ Target: $400
 0% 

Explain the difference


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 11-20-2013 , 10:42   Re: Explain the difference
Reply With Quote #5

devWaleed, you are talking about parameters.

2!0 means that 2nd parameter must not be equal to 2,
2&#Game_w means that 2nd parameter must contain #Game_w string
1>0 means that 1st parameter must be greater than 0.

When all conditions for event are met then plugin calls specified function, for example, Event_RoundRestart.
More info about parameters for each event is available here.

For example, Damage event with filter "2!0", "3=0", "4!0":
- damage to player must not be equal to 0
- it is DMG_GENERIC damage type (more info in hlsdk_const.inc)
- origin by X coordinate of damage inflictor must not be equal to 0
__________________

Last edited by isotonic; 11-20-2013 at 10:43.
isotonic is offline
 



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 23:21.


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