SHARE
TWEET

Untitled

a guest Apr 19th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public OnPlayerCommandReceived(playerid, cmdtext[])
  2. {
  3.     if( !IsPlayerConnected( playerid )) return 0;
  4.  
  5.     if( PI[ playerid ][ pAdmin ] < 1 && PI[ playerid ][ pGameMaster] < 1) {
  6.         if( antiCheatCS[ playerid ][SpamCommand] > 0) {
  7.             SEM( playerid, "Ne mozes spamati komande svakih 2 sec!" );
  8.             return 0;
  9.         }
  10.         antiCheatCS[ playerid ][SpamCommand] += 2;
  11.     }
  12.  
  13.     if( UlogovanIgrac[ playerid ] != 1)
  14.     {
  15.         SEM( playerid, "Trebate se prijaviti da bi ste mogli koristit ovu komandu !" );
  16.         return 0;
  17.     }
  18.     return 1;
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top