Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:megaphone(playerid, params[])
- {
- if(!IsLoggedIn(playerid))return 1;
- new msg[96], string[128];
- if(sscanf(params, "s[96]", msg))return SendClientMessage(playerid, COLOR_GREY, "** Benutze (/m)egaphone [Nachricht]");
- if(!(Spieler[playerid][pFraktion] == 1 || Spieler[playerid][pFraktion] == 3))return SendClientMessage(playerid, COLOR_GREY, "** Du bist kein Beamter.");
- format(string, sizeof(string), ">> [ %s %s: %s ] <<", GetRankName(Spieler[playerid][pFraktion], Spieler[playerid][pRank]), GetName(playerid), msg);
- RoundMessage(playerid, COLOR_YELLOW, string, 20.0);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement