Admins view ban reasons in game
#2

If u r using ladmin
then here you go


PHP код:
CMD:searchban(playerid,params[]) {
    if(
PlayerInfo[playerid][LoggedIn] == 1) {
        if(
PlayerInfo[playerid][Level] >= 1) {
         new 
string[100],nickname[50];
          if(
sscanf(params"s[50]s[48]"nickname)) return SCM(playeriddred"[LBAN]: /Searchban (New String)");
            
CMDMessageToAdmins(playerid,"SEARCHBAN");
            
format(string,sizeof(string),"/ladmin/bans/%s.ini"nickname);
               return 
LSEARCHBAN(playerid,string);
        } else return 
SendClientMessage(playerid,dred,"» Error « {BABABA} You are not a high enough level to use this command");
    } else return 
SendClientMessage(playerid,red,"» Error « {BABABA} You must be logged in to use this commands");
}
CMD:sban(playerid,params[]) {
    return 
cmd_searchban(playeridparams);

Change only
if(PlayerInfo[playerid][LoggedIn] == 1) {
if(PlayerInfo[playerid][Level] >= 1) {
to your own data
Reply


Messages In This Thread
Admins view ban reasons in game - by Sebz - 22.12.2015, 11:52
Re: Admins view ban reasons in game - by Younes44 - 22.12.2015, 12:40
Re: Admins view ban reasons in game - by RoboN1X - 22.12.2015, 12:59

Forum Jump:


Users browsing this thread: 2 Guest(s)