Raised This Month: $ Target: $400
 0% 

Custom Roundtime


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SoccerjamTR
Member
Join Date: May 2021
Old 05-24-2021 , 14:01   Re: Custom Roundtime
Reply With Quote #9

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
 



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