[AJUDA] Criar comando /lideres
#3

Strong, achei este comando, ele estб correto?

PHP код:
if (strcmp(cmd,"/Lideres",true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            
SendClientMessage(playerid,COLOR_WHITE,"Lнderes:");
            for(new 
0MAX_PLAYERSi++)
            {
                if(
IsPlayerConnected(i))
                {
                    if(
PlayerInfo[i][pLider] == 1)
                    {
                        
GetPlayerName(i,sendername,sizeof(sendername));
                        
format(string,256,"%s - Policia militar",sendername);
                        
SendClientMessage(playerid,COLOR_WHITE,string);
                    } 
Reply


Messages In This Thread
[AJUDA] Criar comando /lideres - by Bryaan_Smith - 25.08.2011, 15:37
Re: [AJUDA] Criar comando /lideres - by [S]trong - 25.08.2011, 15:39
Re: [AJUDA] Criar comando /lideres - by Bryaan_Smith - 25.08.2011, 15:42
Re: [AJUDA] Criar comando /lideres - by Douglas_prt - 25.08.2011, 15:42
Re: [AJUDA] Criar comando /lideres - by [S]trong - 25.08.2011, 15:42
Re: [AJUDA] Criar comando /lideres - by DartakousLien - 25.08.2011, 15:43
Re: [AJUDA] Criar comando /lideres - by Bryaan_Smith - 25.08.2011, 15:44
Re: [AJUDA] Criar comando /lideres - by DartakousLien - 25.08.2011, 15:48
Re: [AJUDA] Criar comando /lideres - by [S]trong - 25.08.2011, 15:49
Re: [AJUDA] Criar comando /lideres - by DartakousLien - 25.08.2011, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)