View Single Post
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 07-05-2022 , 20:19   Re: Separate plugin only for the Roundtimer fix after change map
Reply With Quote #14

Quote:
Originally Posted by DJEarthQuake View Post
PHP Code:
#include <amxmodx>
new g_ForceRoundTimer

public plugin_init()
{
    
register_plugin("RoundTimer Fix""1.0"".sρiηX҉.")
    
g_ForceRoundTimer get_user_msgid("ShowTimer")
}

public 
client_putinserver(id)
{
    if(
is_user_connected(id))
    {
        
set_task(0.5,"@RoundTimerFix",id)
    }
}

@
RoundTimerFix(id)
{
    
emessage_begin(MSG_ONE_UNRELIABLEg_ForceRoundTimer_id);
    
emessage_end();

Github. (slightly longer version that pauses itself on maps with C4 detected)
working so far!

brilliant!!

we are making history here(?

Thank you so much djearthquake! this made my year!!
Ark_Procession is offline