Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:gov(playerid, params[], help)
- {
- // if(PlayerInfo[playerid][pClan] ==3 || PlayerInfo[playerid][pLider] ==3 ) return SCM(playerid, SIVA, "{FF0000}[Greska!] {BFC0C2}Nisi pripadnik PD");
- if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) // return SCM(playerid, SIVA, "{FF0000}[Greska!] {BFC0C2}Nisi pripadnik PD");
- if(PlayerInfo[playerid][pRank] < 6) // return SCM (playerid, SIVA, "{FF0000}[Greska!] {BFC0C2}Samo rank 6 moze da koristi ovu komandu");
- new ime[MAX_PLAYER_NAME], text[100];
- if(sscanf(params, "s[100]", text)) return SCM(playerid, BELA, "{FFFFFF}EG Pomoc |{00C0FF} /gov [text]");
- SendClientMessageToAll (PLAVA, "|___________________________ {FFFFFF}Obavestenje za javnost {1275ED}___________________________|");
- if(PlayerInfo[playerid][pClan] == 3)
- {
- if(PlayerInfo[playerid][pLider] == 3)
- {
- format(CmdString, 128, "Sef Policije %s :{FFFFFF}%s", ime, text);
- }
- if(PlayerInfo[playerid][pRank] == 6)
- {
- format(CmdString, 128, "Zamenik sefa policije %s:{FFFFFF}%s", ime, text);
- }
- }
- SendClientMessageToAll(PLAVA, CmdString);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment