Raised This Month: $ Target: $400
 0% 

Game Commening


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 06-15-2010 , 19:59   Re: Game Commening
Reply With Quote #1

Assuming that "game commencing" occurs before freezetime...here you go.

PHP Code:
#include <amxmodx>
 
#define PLUGIN "WOOT"
#define VERSION "564654"
#define AUTHOR "LOLZ"
 
new Cvar
 
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
 
    
Cvar register_cvar("CvarOne","1")
 
    
register_logevent("Round_Start",2,"1=Round_Start")
}
 
public 
Round_Start()
{
    
set_pcvar_num(Cvar,0)

RedRobster is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-16-2010 , 04:21   Re: Game Commening
Reply With Quote #2

Quote:
Originally Posted by RedRobster View Post
Assuming that "game commencing" occurs before freezetime...here you go.

PHP Code:
#include <amxmodx>
 
#define PLUGIN "WOOT"
#define VERSION "564654"
#define AUTHOR "LOLZ"
 
new Cvar
 
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
 
    
Cvar register_cvar("CvarOne","1")
 
    
register_logevent("Round_Start",2,"1=Round_Start")
}
 
public 
Round_Start()
{
    
set_pcvar_num(Cvar,0)

I think thats not roundstart...
Look like playging 2 guys on 6 round
one left
connected other and game commening
and again round 1 so i need to set Cvar to 0
edgaras85 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 14:46.


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