when i try to kill a timer i get errors?
#3

for your timer do it like this:

pawn Код:
new timer; //define timer

public OnGameModeInit()
{
    timer = SetTimer(bla, 3000, true); //Setting the timer for bla but defined as timer.
    return 1;
}


public bla() //What the timer does
{
    return 1;
}

public Whatever()
{
    KillTimer(timer); //When you want it to be killed use this
    return 1;
}
Reply


Messages In This Thread
when i try to kill a timer i get errors? - by Kar - 10.07.2010, 05:05
Re: when i try to kill a timer i get errors? - by VirSpectorX - 10.07.2010, 05:07
Re: when i try to kill a timer i get errors? - by BP13 - 10.07.2010, 05:09
Re: when i try to kill a timer i get errors? - by VirSpectorX - 10.07.2010, 05:20
Re: when i try to kill a timer i get errors? - by BP13 - 10.07.2010, 05:22
Re: when i try to kill a timer i get errors? - by WackoX - 10.07.2010, 06:58
Re: when i try to kill a timer i get errors? - by willsuckformoney - 10.07.2010, 08:35

Forum Jump:


Users browsing this thread: 1 Guest(s)