Bugged Commands
#3

Quote:
Originally Posted by Yaa
Посмотреть сообщение
PHP код:
CMD:admins(playeridparams[]) 

    new 
count
    new 
admtext[128]; 
    new 
string[128],stringz[128]; 
    for( new 
0MAX_PLAYERSi++ ) 
    { 
        if ( 
IsPlayerConnected) ) 
        { 
            if( 
pData[i][Admin] >= 
            { 
                switch( 
pData[i][Admin] ) 
                { 
                    case 
10admtext "Server Owner"
                    case 
9admtext "Management"
                    case 
8admtext "xMs Special Admin"
                    case 
7admtext "head admin"
                    case 
6admtext "lead admin"
                    case 
5admtext "ubber admin"
                    case 
4admtext "Admin"
                    case 
3admtext "Admin"
                    case 
2admtext "Admin"
                    case 
1admtext "Admin"
                } 
                
count++; 
                
formatstringz 128,"Total Admins Online "); 
                
formatstring128"%s (ID:%d) Level:%d (%s)\n\nTotal XtremeX admins %d"GetName), pData[i][Admin] , admtextcount); 
                
ShowPlayerDialogplayerid 190 DIALOG_STYLE_MSGBOX stringz string"Ok" "Close" ); 
            } 
        } 
        if (
count == 0
        { 
            
formatstringz 128 ,"No Admins Online "); 
            
formatstring 128 ,"Currently NO admin online\nAdmins Watching from IRC\nand Admins Eyes always on you" ); 
            
ShowPlayerDialogplayerid,191,DIALOG_STYLE_MSGBOX stringz string "Ok" "Close" ); 
        } 
        if(
count >= 0
        { 
            
ShowPlayerDialogplayerid 190 DIALOG_STYLE_MSGBOX stringz string"Ok" "Close" ); 
        } 
    } 
    return 
1

Ok , and irc command? btw "Come irc iam searching for you from the morning "!
Reply


Messages In This Thread
Bugged Commands - by Loinal - 25.01.2017, 11:27
Re: Bugged Commands - by Yaa - 25.01.2017, 11:41
Re: Bugged Commands - by Loinal - 25.01.2017, 11:45
Re: Bugged Commands - by Yaa - 25.01.2017, 11:53
Re: Bugged Commands - by saffierr - 25.01.2017, 12:37
Re: Bugged Commands - by Sew_Sumi - 25.01.2017, 12:41
Re: Bugged Commands - by saffierr - 25.01.2017, 12:44
Re: Bugged Commands - by Loinal - 25.01.2017, 12:45
Re: Bugged Commands - by PaRking - 25.01.2017, 14:47
Re: Bugged Commands - by Sew_Sumi - 26.01.2017, 00:49

Forum Jump:


Users browsing this thread: 2 Guest(s)