[AJUDA]/admins nao fuciona -
rene20 - 25.09.2010
Nao aparece os admins que tao online
o meu й o thug 2.6
Код:
if (strcmp(cmd, "/admins", true) == 0)
{
SendClientMessage(playerid, 0xFF00FF96, "|~x Admins do Server x~|");
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) == 1 && PlayerInfo[i][pAdmin] > 0)
{
if(admtrampando[i] == 1)
{
GetPlayerName(i, sendername, sizeof(sendername));
if(PlayerInfo[i][pAdmin] == 1)
{
format(string, 256, "Nome: %s [Moderador]", sendername);
SendClientMessage(playerid, 0xF6AD00AA, string);
}
if(PlayerInfo[i][pAdmin] >= 2 && PlayerInfo[i][pAdmin] < 1337)
{
format(string, 256, "Nome: %s [Administrador]", sendername);
SendClientMessage(playerid, 0xF6AD00AA, string);
}
if(PlayerInfo[i][pAdmin] == 2000)
{
format(string, 256, "Nome: %s [Administrador Master]", sendername);
SendClientMessage(playerid, 0xF6AD00AA, string);
}
if(PlayerInfo[i][pAdmin] == 3000)
{
format(string, 256, "Nome: %s [Administrador Diretor]", sendername);
SendClientMessage(playerid, 0xF6AD00AA, string);
}
if(PlayerInfo[i][pAdmin] == 4000)
{
format(string, 256, "Nome: %s [Administrador Sub-Dono]", sendername);
SendClientMessage(playerid, 0x00BFFFAA, string);
}
if(PlayerInfo[i][pAdmin] == 5000)
{
format(string, 256, "Nome: %s [Dono]", sendername);
SendClientMessage(playerid, 0x00BFFFAA, string);
}
if(PlayerInfo[i][pAdmin] > 5000)
{
}
}
Re: [AJUDA]/admins nao fuciona -
ⓛⓞⓨ! - 25.09.2010
Manolo, tenho um sistema bem simples de ADMIN.
Talvez vocк nгo goste, porйm:
Код:
if(strcmp(cmdtext, "/admins", true) == 0){
new Jogador[24];
new count = 0;
new msg[120];
for(new i=0; i<MAX_PLAYERS; i++){
if(IsPlayerConnected(i) && IsPlayerAdmin(i)){
GetPlayerName(i,Jogador,24);
format(msg,sizeof(msg),"Admin: %s", Jogador);
SendClientMessage(playerid, 0xFF00FFAA, msg);
count++;
}
}
if(count == 0){
SendClientMessage(playerid, COLOR_GREY, "Nenhum Administrador online no momento.");
}
return 1;
}
Q
uando vocк logar na RCON vai aparecer.
Re: [AJUDA]/admins nao fuciona -
rene20 - 25.09.2010
mas tipo quero no jogo
/trabalhar ( ou /profadmin
ai aparece la e a mesma coisa com a rcon ( mas a rcon nao precisa digitar )
pode me ajudar ?
Re: [AJUDA]/admins nao fuciona -
ⓛⓞⓨ! - 25.09.2010
Manolo, аs vezes,
seu nнvel de ADMIN pode estar
maior do quк o possнvel no
TLC.
Re: [AJUDA]/admins nao fuciona -
Gabriel_Halls - 25.09.2010
ponha o level 5000 do seu admin que vai aparecer.
Re: [AJUDA]/admins nao fuciona -
rene20 - 25.09.2010
Qual o maior nivel ?
Re: [AJUDA]/admins nao fuciona -
Gabriel_Halls - 25.09.2010
Quote:
Originally Posted by rene20
Qual o maior nivel ?
|
preste atenзгo aqui
Код:
if(PlayerInfo[i][pAdmin] == 5000)
esse й o level de admin maximo cara soh presta atenзгo no comando /admins que tem esses numeros sгo os leveis de admins.
Re: [AJUDA]/admins nao fuciona -
rene20 - 25.09.2010
VLW GABRIEL