Wiruspwns

Untitled

Aug 12th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. YCMD:gov(playerid, params[], help)
  2. {
  3. // if(PlayerInfo[playerid][pClan] ==3 || PlayerInfo[playerid][pLider] ==3 ) return SCM(playerid, SIVA, "{FF0000}[Greska!] {BFC0C2}Nisi pripadnik PD");
  4. if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) // return SCM(playerid, SIVA, "{FF0000}[Greska!] {BFC0C2}Nisi pripadnik PD");
  5. if(PlayerInfo[playerid][pRank] < 6) // return SCM (playerid, SIVA, "{FF0000}[Greska!] {BFC0C2}Samo rank 6 moze da koristi ovu komandu");
  6. new ime[MAX_PLAYER_NAME], text[100];
  7. if(sscanf(params, "s[100]", text)) return SCM(playerid, BELA, "{FFFFFF}EG Pomoc |{00C0FF} /gov [text]");
  8. SendClientMessageToAll (PLAVA, "|___________________________ {FFFFFF}Obavestenje za javnost {1275ED}___________________________|");
  9. if(PlayerInfo[playerid][pClan] == 3)
  10. {
  11. if(PlayerInfo[playerid][pLider] == 3)
  12. {
  13. format(CmdString, 128, "Sef Policije %s :{FFFFFF}%s", ime, text);
  14. }
  15. if(PlayerInfo[playerid][pRank] == 6)
  16. {
  17. format(CmdString, 128, "Zamenik sefa policije %s:{FFFFFF}%s", ime, text);
  18. }
  19. }
  20. SendClientMessageToAll(PLAVA, CmdString);
  21. return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment