View Single Post
Author Message
Kiske
Veteran Member
Join Date: May 2009
Old 09-02-2014 , 20:37   Know the value of a plugin variable ?
Reply With Quote #1

Hi,
I am new in modules, so, I don't know if this is possible and how to do it.

For example, Plugin A:
PHP Code:
register_event("HLTV""event__HLTV""a""1=0""2=0");

public 
event__HLTV() {
    
g_NewRound 1;
    
    
remove_task(TASK_DELAY_START);
    
set_task(get_pcvar_float(g_CVAR_DelayStart), "task__StartRound"TASK_DELAY_START);
}

public 
task__StartRound() {
    
g_NewRound 0;

I want to know if it's possible to, through the moudule, know the value of the var g_NewRound.

Sory for my english


Thanks in advanced!
__________________

Kiske is offline
Send a message via Skype™ to Kiske