pausers list little help
#5

PHP код:
CMD:pausers(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] >= 1)
    {
    new 
count 1name[24], string[200];
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        if(
IsPaused[i] = 1)
        {
            
GetPlayerName(inamesizeof(name));
            
format(stringsizeof(string), "%s%s (%d\n"stringname,i);
            
count ++;
        }
    }

    if(
count != 1)
    {
        
ShowPlayerDialog(playerid24DIALOG_PAUSED"Paused Players"string"OK""");
    }
    else 
ShowPlayerDialog(playerid24DIALOG_PAUSED"Paused Players""No paused players.""OK""");
    }
    return 
1;

Reply


Messages In This Thread
pausers list little help - by Face9000 - 24.10.2012, 21:08
Re: pausers list little help - by ikkentim - 24.10.2012, 21:16
Re: pausers list little help - by ViniBorn - 24.10.2012, 21:19
Re: pausers list little help - by Face9000 - 25.10.2012, 19:00
Re: pausers list little help - by HyDrAtIc - 25.10.2012, 19:02
Re: pausers list little help - by Face9000 - 25.10.2012, 19:11
Re: pausers list little help - by Ryz - 23.09.2014, 16:08
Re: pausers list little help - by Rudy_ - 23.09.2014, 16:11
Re: pausers list little help - by XStormiest - 23.09.2014, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)