Help with command
#1

Can someone make me this command with strcmp

PHP код:
CMD:admins(playeridparams[])
{
    new 
string[256];
    new 
fstring[64];
    for(new 
i=0i<MAX_PLAYERSi++)
    {
        if(
level[i] > 0)
        {
            new 
pname[MAX_PLAYER_NAME];
            
GetPlayerName(i,pnamesizeof(pname));
            
format(fstringsizeof(fstring),"%s (%i) - {FF0000}Level: %i{FFFFFF}\n"pnameilevel[i]);
            
strcat(stringfstringsizeof(string));
        }
    }
    
ShowPlayerDialog(playerid,2563,DIALOG_STYLE_LIST,"Online Admins",string,"OK","");
    return 
1;

Reply


Messages In This Thread
Help with command - by boyan96 - 18.02.2012, 18:06
Re: Help with command - by [MG]Dimi - 19.02.2012, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)