TimerFix

6. Jul 2019. Zaključano
1,992
pregleda
5
postova
Nucleon
5
Kingpin
6. Jul 2019.
Ime plugina: Timer Fix
Da li ste vi napravili plugin: njok
Ime kreatora: KashCherry
Opis(obavezno): Plugin cini tajmere preciznijim
NATIVE
native SetTimer(funcname[], interval, bool:repeat);  
native SetTimerEx(funcname[], interval, bool:repeat, const format[], {Float,_}:...); 
native KillTimer(const id); 
native KillAllTimers(); 
native IsValidTimer(timerid); 
native GetTimerInterval(timerid); 
native SetTimerInterval(timerid, interval); 

PRIMER
#include   

new num = 0; 
new timer; 

main() { 
  timer = SetTimer("callback",1000,true) 


forward callback(); 
public callback() { 
  if(++num >= 5) { 
    if(IsValidTimer(timer)) KillTimer(timer); 
    SetTimerEx("callbackEx",1000,false,"d",num); 
  } 


forward callbackEx(num); 
public callbackEx(num) { 
  printf("Num: %d",num); 
  KillAllTimers(); 

Download(obavezno mediafire/sendspace link): https://github.com/KashCherry/Timer-Fix-plugin/releases]
ivan221
5
Made Man
🔥3
6. Jul 2019.
Dodao si slovo b na kraj linka, obrisi ga jer ce misliti da ne radi 😄
Nucleon
5
Kingpin
6. Jul 2019.
PazzOnee wrote on July 6, 2019, 9:34 am:
Dodao si slovo b na kraj linka, obrisi ga jer ce misliti da ne radi 😄


Upravo tako  ☹️

LINKDOWNLOAD
Nikola-.-
6
Kingpin
6. Jul 2019.
Something to keep in mind is this include causes PAWN to work harder; therefore, you shouldn't have loads of timers running at the same time as it will require higher CPU usage.

Znajuci balkance i9 9900x ce im malo biti xD
Nucleon
5
Kingpin
6. Jul 2019.
(っ◔◡◔)っ ♥ bunta ♥ wrote on July 6, 2019, 12:56 pm:
Something to keep in mind is this include causes PAWN to work harder; therefore, you shouldn't have loads of timers running at the same time as it will require higher CPU usage.

Znajuci balkance i9 9900x ce im malo biti xD


AHAHHAHAHHAHAHAHHAHAHA A BUKVALNOOO XD

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha