Specific line
#1

Hi,

It's possible to know for ex killtimer, if timerid is lower than 5 print, in what gamemode line is using killtimer function which is killing timer lower than 5ID. because this is my server global timers, sometimes they stop to work, so i gues they are killing somewhere.
Reply
#2

https://github.com/Zeex/pawn/wiki/What's-new#__line

only with the new compiler and hook

Код:
PrintKillTimer(line, timerid)
{
    KillTimer(timerid);
    if (timerid < 5) printf("kill %d on %d", timerid, line);
}
#define KillTimer(%0) PrintKillTimer(__line, %0)
maybe not <5 though if they are random ids
Reply
#3

How to use this compiler
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)