Raised This Month: $ Target: $400
 0% 

Custom Roundtime


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 05-23-2021 , 21:59   Re: Custom Roundtime
Reply With Quote #1

Quote:
Originally Posted by Supremache View Post
I don't know if it possible, if it possible then i dont have idea how to do this.
It is possible by using MsgRoundTime
PHP Code:
#include <amxmodx>

#define PLUGIN    "Timeleft as Roundtime"
#define AUTHOR    "AcidoX (idea), Arkshine and joaquimandrade"
#define VERSION    "1.2"

new gMsgidShowTimer;
new 
g_RoundTime 0;

public 
plugin_init ()
{
    
register_pluginPLUGINVERSIONAUTHOR);
    
register_cvar"TimeleftRoundtime",VERSION,FCVAR_SERVER|FCVAR_SPONLY )
    
register_messageget_user_msgid"RoundTime" ),"Event_RoundTime" );
    
register_event"BombDrop""Event_BombDropped""a""4=1" );                        
    
gMsgidShowTimer get_user_msgid"ShowTimer" );
}

public 
Event_RoundTime( const MsgId, const MsgDest, const MsgEnt )
{
    if(
get_timeleft() != 0)
            
set_msg_arg_int1ARG_SHORTg_RoundTime += 1); //Just messing around this one if it didn't work
}

public 
Event_BombDropped ()
{
    
message_beginMSG_BROADCASTgMsgidShowTimer );
    
message_end();

Or you can use Dias "Infinity Module" to set it like in the picture you sent
__________________
My plugin:
Celena Luna is offline
SoccerjamTR
Member
Join Date: May 2021
Old 05-24-2021 , 14:01   Re: Custom Roundtime
Reply With Quote #2

Quote:
Originally Posted by Celena Luna View Post
It is possible by using MsgRoundTime
PHP Code:
#include <amxmodx>

#define PLUGIN    "Timeleft as Roundtime"
#define AUTHOR    "AcidoX (idea), Arkshine and joaquimandrade"
#define VERSION    "1.2"

new gMsgidShowTimer;
new 
g_RoundTime 0;

public 
plugin_init ()
{
    
register_pluginPLUGINVERSIONAUTHOR);
    
register_cvar"TimeleftRoundtime",VERSION,FCVAR_SERVER|FCVAR_SPONLY )
    
register_messageget_user_msgid"RoundTime" ),"Event_RoundTime" );
    
register_event"BombDrop""Event_BombDropped""a""4=1" );                        
    
gMsgidShowTimer get_user_msgid"ShowTimer" );
}

public 
Event_RoundTime( const MsgId, const MsgDest, const MsgEnt )
{
    if(
get_timeleft() != 0)
            
set_msg_arg_int1ARG_SHORTg_RoundTime += 1); //Just messing around this one if it didn't work
}

public 
Event_BombDropped ()
{
    
message_beginMSG_BROADCASTgMsgidShowTimer );
    
message_end();

Or you can use Dias "Infinity Module" to set it like in the picture you sent
not working
Server mod soccerjam bomb?
SoccerjamTR is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 05-25-2021 , 22:33   Re: Custom Roundtime
Reply With Quote #3

Quote:
Originally Posted by SoccerjamTR View Post
not working
Server mod soccerjam bomb?
I might need more testing first, I will post it later
__________________
My plugin:
Celena Luna is offline
SoccerjamTR
Member
Join Date: May 2021
Old 05-26-2021 , 00:15   Re: Custom Roundtime
Reply With Quote #4

Quote:
Originally Posted by Celena Luna View Post
I might need more testing first, I will post it later
thanks i am waiting bro
SoccerjamTR is offline
Reply



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 19:52.


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