07.07.2017, 16:24
coloquem esses comando em dialog pra mim por favor!
admins
lideres e subs
valeu
Quote:
CMD:vips(playerid, params[]) { new string[65]; SendClientMessage(playerid, 0x07F86DAA, "VIPs e SУCIOS Online:"); foreach(Player, i) { if(PlayerInfo[i][pAdmin] <= 1337) { if(PlayerInfo[i][pVIP] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "» [ID: %d]VIP: %s", i,sendername); SendClientMessage(playerid,0xFF0000AA,string); } else if(PlayerInfo[i][pVIP] == 2) { GetPlayerName(i,sendername,sizeof(sendername)); format(string,128, "» [ID: %d]SOCIO PLATINA: %s",i,sendername); SendClientMessage(playerid,0xFF0080AA,string); } else if(PlayerInfo[i][pVIP] == 5) { GetPlayerName(i,sendername,sizeof(sendername)); format(string,128, "» [ID: %d]SУCIO POWER: %s",i,sendername); SendClientMessage(playerid,0xFFFFFFAA,string); } else if(PlayerInfo[i][pVIP] == 6) { GetPlayerName(i,sendername,sizeof(sendername)); format(string,128, "» [ID: %d]SУCIO GOLD: %s",i,sendername); SendClientMessage(playerid,0xFF8000AA,string); } } } return true; } |
Quote:
CMD:admins(playerid, params[]) { SendClientMessage(playerid, COR_ADMIN, "Admins Online:"); foreach(Player, i) { if(PlayerInfo[i][pAdmin] > 0) { if(admhide[i] == 0) { GetPlayerName(i, sendername, sizeof(sendername)); new string[200]; if(admtrampando[i] == 1) { if(PlayerInfo[i][pAdmin] == 1337) format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Master{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}]", sendername,PlayerInfo[i][pFuncao]); else if(PlayerInfo[i][pAdmin] == 3001) format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Subdono{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}]", sendername,PlayerInfo[i][pFuncao]); else if(PlayerInfo[i][pAdmin] == 5000) format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Fundador{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}]", sendername,PlayerInfo[i][pFuncao]); else if(PlayerInfo[i][pAdmin] == 133 format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Gerente{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}]", sendername,PlayerInfo[i][pFuncao]); else format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}%d{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}]", sendername, PlayerInfo[i][pAdmin],PlayerInfo[i][pFuncao]); SendClientMessage(playerid,COLOR_GRAD1,string); } else { if(PlayerInfo[i][pAdmin] == 1337) format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Master{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}] {FFFFFF}[Jogando]", sendername,PlayerInfo[i][pFuncao]); else if(PlayerInfo[i][pAdmin] == 3001) format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Subdono{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}] {FFFFFF}[Jogando]", sendername,PlayerInfo[i][pFuncao]); else if(PlayerInfo[i][pAdmin] == 5000) format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Fundador{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}] {FFFFFF}[Jogando]", sendername,PlayerInfo[i][pFuncao]); else if(PlayerInfo[i][pAdmin] == 133 format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Gerente{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}] {FFFFFF}[Jogando]", sendername,PlayerInfo[i][pFuncao]); else format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}%d{B4B5B7}] Funзгo:[{FFFFFF}%s{B4B5B7}] {FFFFFF}[Jogando]", sendername, PlayerInfo[i][pAdmin],PlayerInfo[i][pFuncao]); SendClientMessage(playerid,COLOR_GRAD1,string); } } } if(PlayerInfo[i][pAdminTemp] > 0) { if(admhide[i] == 0) { GetPlayerName(i, sendername, sizeof(sendername)); new string[128]; if(admtrampando[i] == 1) { format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Temporбrio{B4B5B7}]", sendername); SendClientMessage(playerid,COLOR_GRAD1,string); } else { format(string, 128, "Admin: {FFFFFF}%s {B4B5B7}Nнvel:[{FFFFFF}Temporбrio{B4B5B7}] {FFFFFF}[Jogando]", sendername); SendClientMessage(playerid,COLOR_GRAD1,string); } } } } return true; } |
Quote:
CMD:lideres(playerid) { SendClientMessage(playerid,COR_ADMIN, "Lнderes Online:"); new string[65]; foreach(Player, i) { if(PlayerInfo[i][pLider] > 0) { format(string, sizeof string, "ID:[%d] %s (%s) - Tel:[%d]",i ,NomePlayer(i) ,GetOrgName(PlayerInfo[i][pLider]),PlayerInfo[i][pPnumber]); SendClientMessage(playerid, GetPlayerColor(i), string); } } return true; } CMDublideres(playerid) { SendClientMessage(playerid,COR_ADMIN, "Sub-Lнderes Online:"); new string[128]; foreach(Player, i) { if(PlayerInfo[i][pCargo] == 444) { format(string, sizeof string, "ID:[%d] %s (Sub[444] - %s) - Tel:[%d]", i, NomePlayer(i), GetOrgName(GetPlayerOrg(i)),PlayerInfo[i][pPnumber]); SendClientMessage(playerid, GetPlayerColor(i), string); } else if(PlayerInfo[i][pCargo] == 555) { format(string, sizeof string, "ID:[%d] %s (Sub[555] - %s) - Tel:[%d]", i, NomePlayer(i), GetOrgName(GetPlayerOrg(i)),PlayerInfo[i][pPnumber]); SendClientMessage(playerid, GetPlayerColor(i), string); } } return true; |