TooglePlayerControllable bug
#1

Hi,

i have a bug with my timer freeze, when i would be freeze but im not freeze.

look code :

PHP код:
public StartMap()
{
    
timerFreeze SetTimer("FreezeTime"1000true);
    
    for(new 
i=0i<MAX_PLAYERSi++)
    {
        
TogglePlayerControllable(i0);
    }
    return 
1;

PHP код:
public FreezeTime()
{
    
printf("%i"time);
    
time--;
    if(
time == 0)
    {
        
KillTimer(timerFreeze);
        for(new 
i=0i<MAX_PLAYERSi++)
        {
            
TogglePlayerControllable(i1);
        }
    }
    return 
1;

Reply


Messages In This Thread
TooglePlayerControllable bug - by cChaD - 06.02.2013, 12:26
Re: TooglePlayerControllable bug - by 3ventic - 06.02.2013, 12:50
Re: TooglePlayerControllable bug - by Jewell - 06.02.2013, 12:54
Re : TooglePlayerControllable bug - by cChaD - 06.02.2013, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)