Raised This Month: $ Target: $400
 0% 

Force round end idea(s)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 01-14-2009 , 12:33   Force round end idea(s)
Reply With Quote #1

AFAIK there's still no good plugin for forcing the round to end.

What if we would tranfer players for example from T team to CT, while T team has at least one dead player? After that we could transfer those players back. It should be instant, so players shouldn't even notice that. Only the server would notice that all T players had left T team and the CT team would be announced as the winner.

Code:
#include <amxmodx> #include <amxmisc>   public plugin_init()         register_concmd("amx_teamwin", "cTeamWin", ADMIN_BAN, "<ct|t> - end round by win of a specifig team");   public cTeamWin(iCl, iLevel, iCmd) {         if (!cmd_access(iCl, iLevel, iCmd, 2))         {                 console_print(iCl, "You have no access to that command");                   return PLUGIN_HANDLED;         }           new szArg[2];         read_argv(1, szArg, 1);           switch (szArg)         {                 case 'c': sTransfer(1); // Transfer Ts                 case 't': sTransfer(2); // Transfer CTs                   default: console_print(iCl, "Usage: amx_teamwin <ct|t>");         }           return PLUGIN_HANDLED; }   stock sTransfer(iTeam) {         // Transfer code }
__________________
hleV is offline
 


Thread Tools
Display Modes

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 01:50.


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