Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function adminNews(pid,params)
- {
- if (Player[pid].chat == "ooc")
- {
- if (Player[pid].admin != 0)
- {
- local args = sscanf("s",params);
- if (args)
- {
- for (local i = 0; i <= getPlayersCount(); ++i)
- {
- sendOOCmsg(i,0,255,0,"(НОВОСТИ) " + getPlayerName(pid) + ": " + args[0]);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement