![]() ![]() I will consider this for first stable version. My plan for initial release was adding a timer on OnMapStart() and check once for mapname, but round_freeze_end is better, I completely forgot about that event. ![]() I wrote this code like this only for testing. Hello, your optimization is very helpful. Void OnButtonAction (const char output, int caller, int activator, float delay ) HookSingleEntityOutput ( entity, "OnPressed", OnButtonAction, true ) If ( strcmp ( sName, "elevator_button" ) = 0 ) GetEntPropString ( entity, Prop_Data, "m_iName", sName, sizeof ( sName )) Instead of stopping to lay out the limbs in a spread-eagle position, he'd pushed the dead men out the back of a van or a hatchback and left them in the road. While (- 1 != ( entity = FindEntityBålassname ( entity, "func_button" ))) If ( strcmp ( sMap, "l4d_hospital04_interior" ) = 0 ) Public void Event_RoundFreezeEnd ( Event event , const char name, bool dontBroadcast ) ![]() HookEvent ( "round_freeze_end", Event_RoundFreezeEnd, EventHookMode_PostNoCopy ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |