Jump to content

adytu091

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by adytu091

  1. YCMD:admins(playerid, params[], help) { new string[128], count; format(string, sizeof(string), "---------------- Admini conectati ----------------"); SCM(playerid, COLOR_WHITE, string); if(PlayerInfo[playerid][pAdmin] < 5) { for(new j=1;j<=7;j++) { foreach(Player,i) { if(PlayerInfo[i][pAdmin] == j && GetPVarInt(i, "Cover") == 0) { format(string, sizeof(string), "%s %s (%d)", GetAdminRank(i), GetName(i),i); SCM(playerid, COLOR_WHITE, string); count++; } } } } else { for(new j=1;j<=7;j++) { foreach(Player,i) { if(PlayerInfo[i][pAdmin] == j) { if(GetPVarInt(i, "Cover") == 1) format(string, sizeof(string), "%s %s (%d) - AFK %d min. (%d sec.) - Cover: %s", GetAdminRank(i), PlayerInfo[i][pUsername],i, AFKSeconds[i]/60, AFKSeconds[i], GetName(i)); else if(Spectate[i] != 255) format(string, sizeof(string), "%s %s (%d) - spectator pe %s (%d)", GetAdminRank(i), PlayerInfo[i][pUsername],i, GetName(Spectate[i]), Spectate[i]); else if(Aduty[i] == 1) SCMEx(playerid, -1, "%s %s (%d) Duty ON", GetAdminRank(i), GetName(i),i); else format(string, sizeof(string), "%s %s (%d) - AFK %d min. (%d sec.)", GetAdminRank(i), PlayerInfo[i][pUsername],i, AFKSeconds[i]/60, AFKSeconds[i]); SCM(playerid, COLOR_WHITE, string); count++; } } } } format(string, sizeof(string), "{ADFF5C}* Sunt %d admini conectati in acest moment.", count); SCM(playerid, COLOR_WHITE, string); SCM(playerid, COLOR_WHITE, "--------------------------------------------------------"); return 1; } Se dubleaza daca un admin e on duty apare ceva gen -------Admini Conectati------------ xxx -xxx -xx- -x-x-x --------Admini conectati--------- xxxx ON DUTY M-a puteti ajuta va rog?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

moduri samp