[Ajuda] Admins Em DIALOG.
#1

Olб,

Queria Saber Se Da Pra Colocar Esse Comando De ADMIN Do Meu Server Em Dialog

PHP код:
if(!strcmp(cmdtext, "/admins", true))
{
SendClientMessage(playerid,0x00FF40AA, ".:: - Administradores Online - ::.");
new 
count=0;
for(new 
i=0; i<MAX_PLAYERS; i++)
{
if(
IsPlayerConnected(i)){
if(
admin[i]){
new 
str[256];
new 
pname[24];
GetPlayerName(i, pname, 24);
format(file2, sizeof(file2), PASTA_CONTAS, pname);
if(
pAdmin[i] == 1){
format(str,sizeof(str),"%s (%d) :: [Recruta - Level 1]", pname,i);
}
if(
pAdmin[i] == 2){
format(str,sizeof(str),"%s (%d) :: [Ajudante - Level 2]", pname,i);
}
if(
pAdmin[i] == 3){
format(str,sizeof(str),"%s (%d) :: [Administrador - Level 3]", pname,i);
}
if(
pAdmin[i] == 4){
format(str,sizeof(str),"%s (%d) :: [SuB_DONO - Level 4]", pname,i);
}
if(
pAdmin[i] == 5){
format(str,sizeof(str),"%s (%d) :: [Dono Oficial]", pname,i);
}
SendClientMessage(playerid, 0x0080FFAA, str);
count++;
}
}
}
if(
count == 0)
{
SendClientMessage(playerid, Vermelho, "(ERRO) Nгo hб administradores online no momento");
}
return 
1;
} 
Obrigado A Todos !
Reply


Messages In This Thread
Admins Em DIALOG. - by SkyneTSAMP - 07.02.2015, 23:33
Re: Admins Em DIALOG. - by CLANdok - 07.02.2015, 23:38
Re: Admins Em DIALOG. - by SkyneTSAMP - 07.02.2015, 23:56
Re: Admins Em DIALOG. - by [BOPE]Seu._.Madruga - 08.02.2015, 01:41
Re: Admins Em DIALOG. - by SkyneTSAMP - 08.02.2015, 15:01

Forum Jump:


Users browsing this thread: 1 Guest(s)