AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   hlds_const.inc question (https://forums.alliedmods.net/showthread.php?t=134312)

Emp0wer 08-03-2010 06:39

hlds_const.inc question
 
PHP Code:

#define FEV_NOTHOST        (1<<0)    // Skip local host for event send.
#define FEV_RELIABLE    (1<<1)    // Send the event reliably.  You must specify the origin and angles 
                                // for this to work correctly on the server for anything
                                // that depends on the event origin/angles.  I.e., the origin/angles are not
                                // taken from the invoking edict for reliable events.
#define FEV_GLOBAL        (1<<2)    // Don't restrict to PAS/PVS, send this event to _everybody_ on the server ( useful for stopping CHAN_STATIC
                                //  sounds started by client event when client is not in PVS anymore ( hwguy in TFC e.g. ).
#define FEV_UPDATE        (1<<3)    // If this client already has one of these events in its queue, just update the event instead of sending it as a duplicate
#define    FEV_HOSTONLY    (1<<4)    // Only send to entity specified as the invoker
#define FEV_SERVER        (1<<5)    // Only send if the event was created on the server.
#define FEV_CLIENT        (1<<6)    // Only issue event client side ( from shared code ) 

Where this consts can be used?

Arkshine 08-03-2010 07:58

Re: hlds_const.inc question
 
EngFunc_PlaybackEvent

Emp0wer 08-03-2010 08:20

Re: hlds_const.inc question
 
Quote:

Originally Posted by Arkshine (Post 1260262)
EngFunc_PlaybackEvent

thx man


All times are GMT -4. The time now is 00:15.

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