Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
ajutor
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
Author
Message
705
blana
[Mentally Stable]
Status: Offline
(since 13-03-2012 07:21)
Joined: 31 Jan 2009
Posts: 14
,
Topics: 4
Location:
Romania
Reputation:
233.2
Votes
: 4
Posted: 16-09-2010, 20:40:34
| Translate post to:
... (
Click for more languages
)
Code:
#include < amxmodx >
#define PLUGIN "New auto round restart"
#define VERSION "1.0"
#define AUTHOR "P.Of.Pw"
#define HUD_MESSAGES
#define MAX_COUNT 1
new g_Count
public plugin_init()
{
register_plugin( PLUGIN, VERSION, AUTHOR )
register_event( "TextMsg", "event_gamecomencing", "a", "2&#Game_C" )
register_event( "HLTV", "event_newround", "a", "1=0","2=0" )
state START_FUNCTION
}
public event_gamecomencing() g_Count = 0
public event_newround() < BLOCK_FUNCTION > { }
public event_newround() < START_FUNCTION >
{
if( g_Count++ == MAX_COUNT )
{
server_cmd( "sv_restart 1" )
#if defined HUD_MESSAGES
set_task( 3.0, "show_messages" )
#endif
state BLOCK_FUNCTION
}
}
public show_messages()
{
client_print(0, print_chat, "[..........................] Auto Restart Round !!! [.....................]")
}
as dori ca in loc de comanda
sv_restart 1
sa foloseasca comanda
hell_live 1
Se poate modifica?
0
0
Back to top
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
The time now is 29-01-2025, 23:34:07
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details