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

A plugin that i would appreciate (round restart)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cs1.6
Senior Member
Join Date: Dec 2006
Old 12-07-2007 , 07:52   A plugin that i would appreciate (round restart)
Reply With Quote #1

Hi,

i would appreciate a plugin that would restart the round via
Code:
 sv_restart x
or
Code:
sv_restartround x
( i haven't noticed a difference between those two, is there any?)


if

a player joins a team and only bots (no other players) are in the teams.


Thanks alot,

that would make my life alot easier,

your cs
cs1.6 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-07-2007 , 07:58   Re: A plugin that i would appreciate (round restart)
Reply With Quote #2

I guess it could reset timelimit and then the map would never change.
What about slay all bots instead ?
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-07-2007 at 09:16.
ConnorMcLeod is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 12-07-2007 , 10:13   Re: A plugin that i would appreciate (round restart)
Reply With Quote #3

i think he just wants their scores to reset? couldnt you use

PHP Code:
set_user_deaths 
PHP Code:
set_user_frags 
and have them only be used on bots?
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 12-07-2007 , 10:20   Re: A plugin that i would appreciate (round restart)
Reply With Quote #4

I would have thought he wants the round to end, so you don't have to spectate bots.
purple_pixie is offline
dangerix
Senior Member
Join Date: Aug 2007
Location: Germany
Old 12-07-2007 , 10:25   Re: A plugin that i would appreciate (round restart)
Reply With Quote #5

Quote:
Originally Posted by purple_pixie View Post
I would have thought he wants the round to end, so you don't have to spectate bots.
Me either.
__________________
dangerix is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 12-07-2007 , 10:27   Re: A plugin that i would appreciate (round restart)
Reply With Quote #6

Hey connor,

i was gonna compile your thirdpersonview plugin later on, install it and probably replace the original thirdpersonview plugin with it. He..He.. my server gets slowly packed with your plugins. But your codes are on a professional level and one knows that one can rely on the rocksolid stability and absolute reliability of your codes/plugins. Your Info Rank plugin is one of my favorites of all times and the users love it. It's Rocksolid and has become a indispensable part of the server. If you plan to work on it or develop it further, i can give you enough feedback.

ok, back to topic:


restarting and resetting the score would be a more elegant way..but slaying them is more functional. I think i go with it. Let's go your way.




Slay them..oh mighty God of codes!




cs1.6 is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 12-07-2007 , 10:32   Re: A plugin that i would appreciate (round restart)
Reply With Quote #7

yeah maybe but what i kinda got out of it was the score thing. but i guess its how u say lol, i guess its bc im tired lol.
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 12-07-2007 , 10:47   Re: A plugin that i would appreciate (round restart)
Reply With Quote #8

Untested ... but should work.

Players can also say "/restart" at any time (provided they are the only non-bot online)

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_plugin("Bots are boring", "1.0", "Pixie")     register_clcmd("say /restart","on_client_restart") ; } public client_putinserver(id) {     on_client_restart(id) } public on_client_restart(id) {     static players[32] ;     static count = 0 ;     get_players(players,count,"c") ;     if ( count == 1 )     {         server_cmd("sv_restartround 1") ;     } }
purple_pixie is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 12-07-2007 , 11:35   Re: A plugin that i would appreciate (round restart)
Reply With Quote #9

Hello purple_pixie ,

thanks for your plugin. Finally! I'm so happy that i finally have this plugin! It's really so essential for a smooth server activity. It's allready compiled and installed on the server. I will test it and say how it works.


Thanks for your efforts,

your cs
cs1.6 is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 12-07-2007 , 11:36   Re: A plugin that i would appreciate (round restart)
Reply With Quote #10

Awesome.

I'm going home shortly, so may not pick up any issues before Monday.

But I might.

Anyone else should be able to help you, though.
purple_pixie 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 12:35.


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