View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-06-2018 , 08:36   Re: Prevent round ending due to timer and remove timer with Orpheu
Reply With Quote #5

Quote:
Originally Posted by edon1337 View Post
I think I can simply call this
PHP Code:
void CBasePlayer::HideTimer()
{
    
// HACK HACK, we need to hide only the timer.
    
MESSAGE_BEGIN(MSG_ONEgmsgBombDropnullptrpev);
        
WRITE_COORD(0);
        
WRITE_COORD(0);
        
WRITE_COORD(0);
        
WRITE_BYTE(BOMB_FLAG_PLANTED);
    
MESSAGE_END();

    
MESSAGE_BEGIN(MSG_ONEgmsgBombPickupnullptrpev);
    
MESSAGE_END();

You don't even need to bother hooking and calling this, you can redo it in pawn very easy.
__________________

Last edited by HamletEagle; 08-06-2018 at 08:36.
HamletEagle is offline