Raised This Month: $ Target: $400
 0% 

Return mp_buytime to server settings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-10-2011 , 17:47   Re: Return mp_buytime to server settings
Reply With Quote #2

PHP Code:
new Float:old_buytime

public plugin_init()
{
    
register_logevent("roundend"2"1=Round_End")
    
old_buytime get_cvar_float("mp_buytime")
}

public 
roundend()
{
    
server_cmd("mp_buytime %f",old_buytime);

You may know that round end is not map end.
You can set mp_buytime in cstrike/game.cfg if you want a specific value to be set each new map.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 14:28.


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