Detecting a player tabbed
#7

Quote:
Originally Posted by Skribblez
Посмотреть сообщение
Thanks to both! But I'm having problems using YSI, I've already posted something about this and there were no replies for resolution. I already have YSI and included it onto the game-mode without errors nor warnings.

Each time I try to use timers(y_timers), it doesn't work at all.

First, I had this:
pawn Код:
Timer:OneSecondInterval[1000]() { }
since that didn't work, someone suggested using this:
pawn Код:
timer OneSecondInterval[1000]() { }
but the same thing, nothing happens.
Did you not use defer ?

pawn Код:
#include <YSI\y_timers>

task RepeatingTimer[1000]()
{
    printf("Called every 1 seconds.");
}

timer DelayedTimer[500](playerid)
{
    printf("May be called after 0.5 seconds");
}

main()
{
    defer DelayedTimer(42);
}
Reply


Messages In This Thread
Detecting a player tabbed - by Skribblez - 29.08.2013, 17:25
Re: Detecting a player tabbed - by Konstantinos - 29.08.2013, 17:28
Re: Detecting a player tabbed - by Skribblez - 29.08.2013, 17:34
Re: Detecting a player tabbed - by Pottus - 29.08.2013, 17:42
Re: Detecting a player tabbed - by Konstantinos - 29.08.2013, 17:43
Re: Detecting a player tabbed - by Skribblez - 29.08.2013, 17:54
Re: Detecting a player tabbed - by Pottus - 29.08.2013, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)