Advertisement
SynonymousZ-Scripts

GetFuncSpeed

Jul 24th, 2014
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. //GetFuncSpeed by SynonymousZ Edit by Kaliber
  2. #if defined _GetFuncSpeed_included
  3.     #endinput
  4. #endif
  5. #define _GetFuncSpeed_included
  6. static bool:getfuncspeed,count;
  7. stock GetFuncSpeed() {
  8.     if(!getfuncspeed) return getfuncspeed=true,count=GetTickCount(),-1;
  9.     return getfuncspeed=false,GetTickCount()-count;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement