HomeCalendarFAQSearchRegisterLog in

Share | 
 

 Suggestion for Staff

View previous topic View next topic Go down 
AuthorMessage
avatar
ChinaTown


Posts : 143

Join date : 2016-06-07

Age : 16

Location : Venezuela


PostSubject: Suggestion for Staff   Wed Dec 14, 2016 2:59 am

Your Name in-game: SuperSaiyan[IA]
Suggestion for in-game or forum: Game
What kind of suggestion you want give: Hello all admins, i am here for a good suggestion with Cmd, /clearchat (/cc). Everytime when i seen any advertise of his webpage or some other shit, admins do /cc. Which don't clear all chat, so admin have to do it so much time. It just clear 11 lines. And we want that cmd clear ALL CHAT. So i think the cmd it's:

Code:
CMD:clearchat(playerid,params[]) {
    #pragma unused params
   if(PlayerInfo[playerid][Level] >= 2) {
      CMDMessageToAdmins(playerid,"CLEARCHAT");
      for(new i = 0; i < 11; i++) SendClientMessageToAll(green," "); return 1;
    } else return SendClientMessage(playerid,red,"ERROR: You need to be level 2 to use this command");
}

If we want, that clear all chat it's:

Code:
CMD:clearchat(playerid,params[]) {
    #pragma unused params
   if(PlayerInfo[playerid][Level] >= 2) {
      CMDMessageToAdmins(playerid,"CLEARCHAT");
      for(new i = 0; i < 99; i++) SendClientMessageToAll(green," "); return 1;
    } else return SendClientMessage(playerid,red,"ERROR: You need to be level 2 to use this command");
}

Just change: for(new i = 0; i < 11; i++) for: for(new i = 0; i < 99; i++) ok? Thanks all and thanks for passing.

Regards, ChinaTown.
Back to top Go down
http://www.mg-official.com
 

Suggestion for Staff

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» mod-table-for-staff
» Modify Staff Online Widget
» NOTICE : Change in Application system [MG Tag and Staff Position]
» 2-1192263134430-suggestion-improve-captcha
» Ranking suggestion

Permissions in this forum:You cannot reply to topics in this forum
MaximumGaming :: San Andreas Multiplayer ( SA:MP ) :: Suggestions-