Raised This Month: $ Target: $400
 0% 

force round end


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 11-14-2007 , 20:05   Re: force round end
Reply With Quote #1

Hi. Download this.. and then copile the code below.

http://forums.alliedmods.net/showthr...force+team+win

Code:
#include <amxmodx> 
#include <amxmisc> 

#define PLUGIN "3:12 Countdown" 
#define VERSION "1.0" 
#define AUTHOR "M249-M4A1"
Code:
public plugin_init() {  
    register_plugin(PLUGIN, VERSION, AUTHOR)  
    register_event("HLTV", "Countdown", "a", "1=0", "2=0")  
}  

public Countdown() {  
    if (task_exists(12345)) {  
        remove_task(12345)  
        set_task(190.0, "doSomething", 12345)  
        } else {  
        set_task(190.0, "doSomething", 12345)  
    }  
}  

public doSomething() {  
    server_cmd("team_win 1")  
}  



The timer is set to 3:10
__________________
hugz` is offline
Send a message via AIM to hugz`
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 07:57.


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