SHARE
TWEET

Untitled

a guest Oct 12th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CMD:departments(playerid,params[])
  2. {
  3.     if(IsPlayerConnected(playerid))
  4.     {
  5.         if(PI[playerid][pMember] > 0 || PI[playerid][pLeader] > 0)
  6.         {
  7.             if(PI[playerid][pJailTime] > 0) return Error(playerid, "Ne mozes to, zatvoren si.");
  8.             if(PI[playerid][pMute] == 1) return Error(playerid, "Ne mozes to, ucutkan si.");
  9.             if(TV[playerid] == 1) return Error(playerid, "Gledas tv, ne mozes to!");
  10.             if(PisanjeJok[playerid] == 1) return Error(playerid, "Ne mozes to u ovom trenutku!");
  11.             if(Zavezan[playerid] > 0 || Tazovan[playerid] > 0 || Tie[playerid] > 0) return Error(playerid, "Ne mozete to dok ste zavezani/sokirani! (zbog psovanja)");
  12.             if(kLol[playerid] > 0) return Error(playerid, "Ne mozete to!");
  13.             if(Zavezan[playerid] > 0 || Tazovan[playerid] > 0) return Error(playerid, "Ne mozes to!");
  14.             if(PI[playerid][pAdmin] > 0 && PI[playerid][pAdmin] < 1) return Error(playerid, "Ne mozes to, ti si pritajen!");
  15.             if(togd == 1) return Error(playerid, "Deparments je trenutno ugasen od strane Admin-a!");
RAW Paste Data
Top