[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(playerid, COLOR_NEWOOC, "_________________[Administraзгo Em Servico]_______________");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pGm] >= 1 && GMDuty[i] == 1)
{
format(string, 256, "GameMaster: %s - [GameMaster Nivel: %d]", GetPlayerNameEx(i),PlayerInfo[i][pGm]);
SendClientMessage(playerid, COLOR_GMDUTY, string);
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]);