Raised This Month: $ Target: $400
 0% 

Help me use oprheu to block defusal of bomb


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 08-16-2014 , 12:49   Re: Help me use oprheu to block defusal of bomb
Reply With Quote #5

The Infinite Round API is your answer.

PHP Code:
/**
 * @brief Called when a round ends.
 *
 * @note  You can block a round end happening by returning PLUGIN_HANDLED.
 *        Blocking from the forward supercedes always the ir_block_roundend cvar value.
 *
 * @param type     The type of round end. See RoundEndType constants.
 */
forward OnRoundEnd( const RoundEndType:type ); 
You can check for other bomb entities there and if you find one then return.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet 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 12:53.


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