Raised This Month: $ Target: $400
 0% 

Incorporate amx_extend.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 06-06-2007 , 14:07   Incorporate amx_extend.
Reply With Quote #1

I think this small but useful plugin should be incorporated to amx_super. Since this would be good even as base AMXX package functionality. amx_extend by jsauce:
Code:
register_concmd("amx_extend","admin_extend",ADMIN_LEVEL_A,"<added time to extend> : ex. 5, if you want to extend it five more minutes.")

Code:
public admin_extend(id,level,cid) {     if (!cmd_access(id,level,cid,2))         return PLUGIN_HANDLED         new arg[32],name[32]     read_argv(1,arg,31)     get_user_name(id,name,31)     if (arg[0])     {         if(containi(arg,"-") != -1)         {             client_print(id,print_chat,"[AMXX] You cannot extend the maptime by a negative number.")             return PLUGIN_HANDLED         }         new tlimit = str_to_num(arg)         set_cvar_float("mp_timelimit",get_cvar_float("mp_timelimit") + tlimit)         client_print(0,print_chat,"[AMXX] %s has extended the map time by %i minutes",name,tlimit)         return PLUGIN_HANDLED     }         return PLUGIN_HANDLED }
__________________
anssik is offline
 



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 19:20.


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