Quote:
Originally Posted by 1sbedx
PHP код:
foreach(Player, i)
{
if(aInfo[playerid][Admin] == 1)
format(gstring, sizeof(gstring), "{009999}({009966}Canal /n{009999}) [Administrador] %s (%d): %s", PlayerName(playerid), playerid, tmp);
else if(aInfo[playerid][Moderador] == 1)
format(gstring, sizeof(gstring), "{009999}({009966}Canal /n{009999}) [Moderador] %s (%d): %s", PlayerName(playerid), playerid, tmp);
else if(aInfo[playerid][Helper] == 1)
format(gstring, sizeof(gstring), "{009999}({009966}Canal /n{009999}) [Helper] %s (%d): %s", PlayerName(playerid), playerid, tmp);
else
{
if(pInfo[i][Prof] == pInfo[playerid][Prof])
{
format(gstring, sizeof(gstring), "{009999}({009966}Canal /n{009999}) [Nнvel %d] %s (%d): %s", pInfo[playerid][Level], PlayerName(playerid), playerid, tmp);
}
}
SendClientMessage(i, -1, gstring);
}
|
Deu certo. Obrigado. Qual foi a mudanзa?
@Whoo
Seu cуdigo acabou que o pawno parou de funcionar.