Raised This Month: $ Target: $400
 0% 

restart round in AMXX plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spin7ion
Junior Member
Join Date: Dec 2007
Old 02-17-2008 , 05:20   restart round in AMXX plugin
Reply With Quote #1

How I can restart round (not server) or set scores to null?
Spin7ion is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-17-2008 , 05:40   Re: restart round in AMXX plugin
Reply With Quote #2

sv_restartround 1
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Spin7ion
Junior Member
Join Date: Dec 2007
Old 02-17-2008 , 07:29   Re: restart round in AMXX plugin
Reply With Quote #3

Quote:
Originally Posted by Alka View Post
sv_restartround 1
I know this, but how I can change sv_restartround from my plugin?
Spin7ion is offline
Howdy!
Senior Member
Join Date: Feb 2007
Old 02-17-2008 , 07:59   Re: restart round in AMXX plugin
Reply With Quote #4

server_cmd("sv_restartround 1");
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]
Howdy! is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-17-2008 , 14:45   Re: restart round in AMXX plugin
Reply With Quote #5

Code:
new sv_restartround;

public plugin_init()
{
    sv_restartround = get_cvar_pointer("sv_restartround");
}

myfunc()
{
    set_pcvar_num(sv_restartround, #);
}
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 07:06.


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