Wiruspwns

Untitled

Aug 14th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. else if(broj == 17)
  2. {
  3. if(!strcmp(NovinarInfo[1][novLider], "Niko", false)) return SCMF(playerid, BELA, "{FF0000}[Greska!]{BFC0C2} Nema lidera na broju %d!", broj);
  4. new id;
  5. id = GetPlayerID(NovinarInfo[1][novLider]);
  6. if(IsPlayerConnected(id))
  7. {
  8. PlayerInfo[id][pLider] = 0;
  9. PlayerInfo[id][pRank] = 0;
  10. PlayerInfo[id][pClan] = 0;
  11. if(PlayerInfo[id][pPol] == 1) { PlayerInfo[id][pSkin] = PocetniSkinM; SetPlayerSkin(id, PocetniSkinM); }
  12. else if(PlayerInfo[id][pPol] == 2) { PlayerInfo[id][pSkin] = PocetniSkinZ; SetPlayerSkin(id, PocetniSkinZ); }
  13. SCMF(id, BELA, "{FF0000}Smenjeni ste sa pozicije lidera od admina {FFFFFF}%s.", GetName(playerid));
  14. }
  15. SCMF(playerid, BELA, "{33CCFF}Smenili ste lidera {FFFFFF}%s{33CCFF} na broju {FFFFFF}%d.", NovinarInfo[1][novLider], broj);
  16. strmid(NovinarInfo[1][novLider], "Niko", 0, strlen("Niko"), 255);
  17. SacuvajOrg(9);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment