Advertisement
Shiny_

Untitled

May 25th, 2014
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. int CheckAimers() {
  2.     int i;
  3.     for (i = 0; i < MaxPlayerId; i++) {
  4.         logprintf("witam [%d = %d]", i, g_Invoke->callNative(&PAWN::IsPlayerConnected, i));
  5.     }
  6.     return i;
  7. }
  8.  
  9. PLUGIN_EXPORT void PLUGIN_CALL ProcessTick() {
  10.     if(AimCheck && AimAmx && MaxPlayerId > 2) {
  11.         timerstep++;
  12.         if(timerstep==15) {
  13.             CheckAimers();
  14.             timerstep=0;
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement