/unban Command.
#2

PHP код:
CMD:unban(playeridparams[])
{
    
LevelCheckplayerid10 );
    
LoginCheckplayerid );
    if (
sscanf(params"s[128]"params[0])) return SendClientMessage(playeridCOLOR_ULTRARED"USAGE: {33CCFF}/unban [Player Name]" );
    new 
file128 ];
    
formatfile128"/ladmin/users/%s.sav"params[0] );
    if ( !
udb_Existsfile ) ) return SendClientMessageplayeridCOLOR_ULTRARED"ERROR: This player doesnt have an account" );
    
dUserSetINTparams[0] ).( "Banned");
    
PlayerPlaySoundplayerid10570.00.00.0 );
    
FormatMSGplayeridCOLOR_YELLOW"Account '%s' has been succes fully UnBanned!"params[0] );
    return 
1;

Reply


Messages In This Thread
/unban Command. - by Edvin - 01.11.2011, 13:09
Re: /unban Command. - by =WoR=G4M3Ov3r - 01.11.2011, 13:22
Re: /unban Command. - by IstuntmanI - 01.11.2011, 14:06
Re: /unban Command. - by =WoR=G4M3Ov3r - 01.11.2011, 14:37
Re: /unban Command. - by Edvin - 01.11.2011, 16:14

Forum Jump:


Users browsing this thread: 2 Guest(s)