Help me Put / admins in Dialog?
#1

Good afternoon all

You could help me to place my / admins in dialog?


Код:
if(!strcmp(cmdtext, "/admins", true))
{
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) :: [Tutor]", pname,i);
}
if(pAdmin[i] == 2){
format(str,sizeof(str),"%s (%d) :: [Administrador]", pname,i);
}
if(pAdmin[i] == 3){
format(str,sizeof(str),"%s (%d) :: [Administrador Senior]", pname,i);
}
if(pAdmin[i] == 4){
format(str,sizeof(str),"%s (%d) :: [Sub-Dono]", pname,i);
}
if(pAdmin[i] == 5){
format(str,sizeof(str),"%s (%d) :: [Dono]", pname,i);
}
SendClientMessage(playerid, 0x0080FFAA, str);
count++;
}
}
}
if(count == 0)
{
SendClientMessage(playerid, Vermelho, "(ERRO) Nгo hб administradores online no momento");
}
return 1;
}
Who gets my help +REP '-'
Reply


Messages In This Thread
Help me Put / admins in Dialog? - by xRuffles - 17.02.2013, 14:12
Re: Help me Put / admins in Dialog? - by ]Rafaellos[ - 17.02.2013, 14:19
Re: Help me Put / admins in Dialog? - by xRuffles - 17.02.2013, 14:30
Re: Help me Put / admins in Dialog? - by xRuffles - 17.02.2013, 15:50
Re: Help me Put / admins in Dialog? - by xRuffles - 17.02.2013, 16:09
Re: Help me Put / admins in Dialog? - by xRuffles - 18.02.2013, 09:18

Forum Jump:


Users browsing this thread: 1 Guest(s)