sim mano mais esses topicos nгo sao iguais ao meu caso '-' |
if( !strcmp( cmd, "/admins", true ) || !strcmp( cmd, "/mods", true ) || !strcmp( cmd, "/administradores", true ) || !strcmp( cmd, "/moderadores", true ))
{
SendClientMessage( playerid, 0x96D742AA, "| INFO | Admins Online:" );
new a_d_m, m_d_r,Str[120];
foreach(Player, i )
{
if( aInfo[ i ][ Admin ] == 1 )
{
if( aInfo[ i ][ Oculto ] == false )
{
a_d_m ++;
format( string, sizeof( string ), "{0000FF}Administrador / {3EB716}Staff {FFFFFF}%s ( %d )", PlayerName( i ), i );
strcat(Str, string);
ShowPlayerDialog(playerid, 657, DIALOG_STYLE_LIST, "Administradores", Str, "Okay", "");
}
}
if( aInfo[ i ][ Moderador] == 1 )
{
if( aInfo[ i ][ Oculto ] == false )
{
m_d_r ++;
format( string, sizeof( string ), "{F98900}Moderador(a) {FFFFFF}%s ( %d )", PlayerName( i ), i );
strcat(Str, string);
ShowPlayerDialog(playerid, 657, DIALOG_STYLE_LIST, "Administradores", Str, "Okay", "");
}
}
if( aInfo[ i ][ Ajudante ] == 1 )
{
if( aInfo[ i ][ Oculto ] == false )
{
a_d_m ++;
format( string, sizeof( string ), "{F2F605}Ajudante {FFFFFF}%s ( %d )", PlayerName( i ), i );
strcat(Str, string);
ShowPlayerDialog(playerid, 657, DIALOG_STYLE_LIST, "Administradores", Str, "Okay", "");
}
}
}
if( a_d_m == 0 ) return SendClientMessage( playerid, COLOR_ERRO, "[ BCR Admin ] Nenhum Admin online no momento !" );
}
stock Cargo(playerid)
{
new cargo[18];
if(aInfo[playerid][Admin])
{
cargo = "Administrador";
}
else if (aInfo[playerid][Moderador])
{
cargo = "Moderador";
}
else
{
cargo = "Ajudante";
}
return cargo;
}
if( !strcmp( cmd, "/admins", true ) || !strcmp( cmd, "/mods", true ) || !strcmp( cmd, "/administradores", true ) || !strcmp( cmd, "/moderadores", true ))
{
SendClientMessage( playerid, 0x96D742AA, "| INFO | Admins Online:" );
new a_d_m, m_d_r,Str[120];
foreach(Player, i )
{
if( aInfo[ i ][ Admin ] == 1 || aInfo[ i ][ Moderador ] == 1 || aInfo[ i ][ Ajudante ] == 1)
{
if( aInfo[ i ][ Oculto ] == false )
{
a_d_m ++;
format( string, sizeof( string ), "{0000FF}%s / {3EB716}Staff {FFFFFF}%s ( %d )",Cargo(i), PlayerName( i ), i );
strcat(Str, string);
ShowPlayerDialog(playerid, 657, DIALOG_STYLE_LIST, "Administradores", Str, "Okay", "");
}
}
}
if( a_d_m == 0 ) return SendClientMessage( playerid, COLOR_ERRO, "[ BCR Admin ] Nenhum Admin online no momento !" );
}
nгo deu muito certo mano mais vlw pela ajuda |