Raised This Month: $51 Target: $400
 12% 

Infinite Round (v2.1.2)


Post New Thread Reply   
 
Thread Tools Display Modes
twiister
Senior Member
Join Date: Mar 2013
Location: Argentina
Old 07-22-2013 , 16:38   Re: Infinite Round (v2.1.2)
Reply With Quote #571

Since I can do so that it walks with Infinite Round żż

PHP Code:
/* Plugin generated by AMXX-Studio */


#include <amxmodx>

#define PLUGIN "Auto Restart vl"
#define VERSION "1.4"
#define AUTHOR "vato loco [GE-S]"

#define TIMER_TASK        123456
#define RESTART_TASK      789123

new g_counter  

new g_autorestart
new g_autoenabled
new g_autocds
new g_autocount_color
new g_autostart_color
new g_auto_xypos

new g_SyncGameStart
new g_SyncRestartTimer

new bool:g_bRoundStart 

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("RoundStart"2"1=Round_Start")
    
register_event("TextMsg","RestartTask","a","2&#Game_C")   
    
    
register_dictionary("auto_restart_vl.txt")
    
    
g_autoenabled register_cvar("amx_autorr_enable","1")
    
g_autocds register_cvar("amx_autorr_cds","1")
    
g_autorestart register_cvar("amx_autorr_time","40")
    
g_autocount_color register_cvar("amx_autorr_count_color","0 255 0")
    
g_autostart_color register_cvar("amx_autorr_start_color","0 255 255")
    
g_auto_xypos register_cvar("amx_autorr_xypos","-1.0 0.25")
    
    
g_SyncGameStart CreateHudSyncObj()
    
g_SyncRestartTimer CreateHudSyncObj()
}

public 
RoundStart()
{
    if(!
get_pcvar_num(g_autoenabled))
        return 
PLUGIN_HANDLED
    
    
if(g_bRoundStart)
    {
        static 
rgbFloat:xFloat:y
        HudMsgPos
(x,y)
        
HudMsgColor(g_autostart_colorrgb)
        
        
set_hudmessagergbxy15.08.00.00.0, -1)
        
ShowSyncHudMsg0g_SyncGameStart"%L",LANG_PLAYER"GAME_STARTED")
    }
    
g_bRoundStart false
    
    
return PLUGIN_CONTINUE
}

public 
RestartTask() 
{
    if(!
get_pcvar_num(g_autoenabled))
        return 
PLUGIN_HANDLED
    
    set_task
(1.0,"TimeCounter",TIMER_TASK,_,_,"a",get_pcvar_num(g_autorestart))
    
set_task(get_pcvar_float(g_autorestart),"RestartRound",RESTART_TASK)
    
    return 
PLUGIN_CONTINUE
}

public 
TimeCounter() 
{
    
g_counter++
    
    new 
Float:iRestartTime get_pcvar_float(g_autorestart) - g_counter
    
new Float:fSec
    fSec 
iRestartTime 
    
    
static rgbFloat:xFloat:y
    HudMsgPos
(x,y)
    
HudMsgColor(g_autocount_colorrgb)
    
    
set_hudmessagergbxy00.01.00.00.0, -1)
    
ShowSyncHudMsg0g_SyncRestartTimer"%L",LANG_PLAYER"AUTO_RESTART"floatround(fSec))
    
    if(
get_pcvar_num(g_autocds) && get_pcvar_num(g_autorestart) - g_counter 11 && get_pcvar_num(g_autorestart) - g_counter !=0)
    {
        static 
szNum[32]
        
num_to_word(get_pcvar_num(g_autorestart) - g_counterszNum31)
        
client_cmd(0,"speak ^"vox/%s^""szNum)
    }
    if(
g_counter == get_pcvar_num(g_autorestart))
    {
        
g_bRoundStart true
        g_counter 
0
    
}
}

public 
RestartRound() 
{
    
server_cmd("sv_restartround 1")
}

public 
HudMsgColor(cvar, &r, &g, &b)
{
    static 
color[16], piece[5]
    
get_pcvar_string(cvarcolor15)
    
    
strbreakcolorpiece4color15)
    
str_to_num(piece)
    
    
strbreakcolorpiece4color15)
    
str_to_num(piece)
    
str_to_num(color)
}

public 
HudMsgPos(&Float:x, &Float:y)
{
    static 
coords[16], piece[10]
    
get_pcvar_string(g_auto_xypos coords15)
    
    
strbreak(coordspiece9coords15)
    
str_to_float(piece)
    
str_to_float(coords)

help please!! help please!! help please!!
twiister is offline
kam3n1tza
Member
Join Date: Jul 2011
Old 08-03-2013 , 18:51   Re: Infinite Round (v2.1.2)
Reply With Quote #572

This plugin works on cs non-steam?
kam3n1tza is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-03-2013 , 19:03   Re: Infinite Round (v2.1.2)
Reply With Quote #573

Quote:
Originally Posted by kam3n1tza View Post
This plugin works on cs non-steam?
What do you think?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 08-04-2013 , 02:11   Re: Infinite Round (v2.1.2)
Reply With Quote #574

Who cares?
__________________

Mordekay is offline
Old 08-05-2013, 06:08
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
Old 08-05-2013, 06:08
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-05-2013 , 11:58   Re: Infinite Round (v2.1.2)
Reply With Quote #575

Quote:
Originally Posted by LordOfNothing View Post
Why dont upload the .sma file >D
Upload directly the sma please >)
Quote:
Originally Posted by LordOfNothing View Post
yes
Read rules, you constantly double posting everywhere. Learn to use edit button...
Btw working or not for no-steam, you should ignore. Here no steam = no support
__________________
Jhob94 is offline
kam3n1tza
Member
Join Date: Jul 2011
Old 08-06-2013 , 15:38   Re: Infinite Round (v2.1.2)
Reply With Quote #576

Quote:
Originally Posted by LordOfNothing View Post
yes
Thanks for the information man!
kam3n1tza is offline
Old 08-09-2013, 12:48
veliflst
This message has been deleted by veliflst.
Old 08-09-2013, 12:57
veliflst
This message has been deleted by veliflst.
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-09-2013 , 13:23   Re: Infinite Round (v2.1.2)
Reply With Quote #577

ir_block_gamecommencing "1"
__________________
Arkshine is offline
Old 08-10-2013, 13:31
veliflst
This message has been deleted by veliflst.
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-10-2013 , 13:49   Re: Infinite Round (v2.1.2)
Reply With Quote #578

It's a cvar, you put in any config file, like amxx.cfg.
__________________
Arkshine is offline
Old 08-11-2013, 02:22
veliflst
This message has been deleted by veliflst.
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-11-2013 , 03:15   Re: Infinite Round (v2.1.2)
Reply With Quote #579

try in server.cfg
sami_spt is offline
Old 08-11-2013, 03:54
veliflst
This message has been deleted by veliflst.
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-11-2013 , 04:17   Re: Infinite Round (v2.1.2)
Reply With Quote #580

Paste output of following server command :

meta list
amxx list
cvarlist ir_
__________________
Arkshine is offline
Old 08-11-2013, 10:27
veliflst
This message has been deleted by veliflst.
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 05:22.


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