Raised This Month: $ Target: $400
 0% 

Restart Game 3 times and Go v0.5 (benzon)


Post New Thread Reply   
 
Thread Tools Display Modes
preppen
Junior Member
Join Date: Jun 2004
Old 12-01-2004 , 19:50   request...
Reply With Quote #11

Is it possible to get a specific server.cfg (myserver.cfg) file to load before the first restart whitout have to make that change first...
That function would make a great change with this plugin.
We have too many admins on the server that are afraid to use plugins like amxwar...

With this server.cfg change function it would be real easy to start a match for them.
preppen is offline
preppen
Junior Member
Join Date: Jun 2004
Old 12-02-2004 , 15:15  
Reply With Quote #12

solved it by myself... ;-)

Its probobly not the best way to do this, but it works.

here is the change...

change:
public rround()
{
server_cmd("sv_restartround 1")
}

to:
public rround()
{
server_cmd("exec myserver.cfg")
server_cmd("sv_restartround 1")
}

This way it load myserver.cfg 3 times... but I don't think it matters.
preppen is offline
RedRat
New Member
Join Date: Dec 2005
Old 01-06-2006 , 04:11   works but
Reply With Quote #13

where can i find the one where all cs and t need to say !ready before rs 3?
RedRat is offline
RPG
Senior Member
Join Date: Aug 2005
Old 02-24-2006 , 16:50  
Reply With Quote #14

If you have empl: ADMIN_LEVEL_C
register_clcmd("amx_restartgame","amx_restart game",ADMIN_LEVEL_C,"amx_restartgame - Triple Restart For Match")
Admin without (o) flag still able to have access to plugin from console amx_restartgame.
It's should be like that or is it a bug?
RPG is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-24-2006 , 18:48  
Reply With Quote #15

it's "ADMIN_CFG" AKA flag "h".
and if you run DoD, CS, or CZ you may want to use this:
http://forums.alliedmods.net/showthread.php?t=10386
however this plugin is also good.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
RPG
Senior Member
Join Date: Aug 2005
Old 02-25-2006 , 02:46  
Reply With Quote #16

Quote:
Originally Posted by GHW_Chronic
it's "ADMIN_CFG" AKA flag "h".
and if you run DoD, CS, or CZ you may want to use this:
http://forums.alliedmods.net/showthread.php?t=10386
however this plugin is also good.
What trying to say,
I changed plugin to ADMIN_LEVEL_C, line:
register_clcmd("amx_restartgame","amx_restart game",ADMIN_LEVEL_C,"amx_restartgame - Triple Restart For Match")
My admins don't have flag (o) but still can use plugin from console.
Why?
RPG is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-25-2006 , 03:22  
Reply With Quote #17

did u change it, recompile it, and then put the NEW AMXX into your plugins folder.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
RPG
Senior Member
Join Date: Aug 2005
Old 02-25-2006 , 04:03  
Reply With Quote #18

Quote:
Originally Posted by GHW_Chronic
did u change it, recompile it, and then put the NEW AMXX into your plugins folder.
Yes done all that still shit, or I don't understand something about flags or is it something wrong.
This is admin with flags but still able use plugin.
"gnome" "****" "abceiu" "a"
RPG is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 02-25-2006 , 04:45  
Reply With Quote #19

I can say you that you did something wrong.
Because i tested that script and not found such problem.

Type "amxx cmds" at the server console.
Is "amx_restartgame" appears twice in that list?
Do you see something like that?
Code:
amx_restartgame          o
VEN is offline
RPG
Senior Member
Join Date: Aug 2005
Old 03-01-2006 , 12:13  
Reply With Quote #20

Quote:
Originally Posted by VEN
I can say you that you did something wrong.
Because i tested that script and not found such problem.

Type "amxx cmds" at the server console.
Is "amx_restartgame" appears twice in that list?
Do you see something like that?
Code:
amx_restartgame          o
Sorry guys,
I found out that you don't have to test plugins on listenserver
Everithing works on dedicated server ;)
Thanks VEN for command "amxx cmds"
RPG 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 09:48.


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