SA-MP Forums Archive
[Ajuda] Ajuda no pawno - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Ajuda no pawno (/showthread.php?tid=507249)



Ajuda no pawno - DaYviSoN - 16.04.2014

Boas no meu server quando faзo o comando /staff aparece a staff em duty...

mas apenas aparece o nome dos administradores eu queria adicionar o ID do admin e possivel?

PHP код:
SendClientMessage(playeridCOLOR_NEWOOC"_________________[Administraзгo Em Servico]_______________");
                for(new 
0MAX_PLAYERSi++)
                {
                    if(
IsPlayerConnected(i))
                    {
                        if(
PlayerInfo[i][pGm] >= && GMDuty[i] == 1)
                        {
                            
format(string256"GameMaster: %s - [GameMaster Nivel: %d]"GetPlayerNameEx(i),PlayerInfo[i][pGm]);
                            
SendClientMessage(playeridCOLOR_GMDUTYstring);
                            
count++;
                        } 
Aqui aparece o Nome do gamemaster e o nivel ao lado do nome queria adicionar o ID dele e possivel agradecia

PHP код:
"GameMaster: %s - [GameMaster Nivel: %d]" 



Re: Ajuda no pawno - VeNuZ_ - 16.04.2014

format(string,256,"GameMaster:%s (id: %i). - [GameMaster Nivel: %d]", GetPlayerNameEx(i), i, PlayerInfo[i][pGm]);