Jump to content

Ovii.Adv

Membru
  • Posts

    15
  • Joined

  • Last visited

Everything posted by Ovii.Adv

  1. daca l-ai pune si public -))) +1 oricum
  2. erori nu da,dar nu merge /staff daca pun SELECT * FROM `users` WHERE `Admin` + `Helper` > '0
  3. sal baietii,am si eu o problema... cu comanda /staff,cand dau /staff gen imi apar toate conturile inregistrate pe server nu am facut ceva bine ? ceva de genul arata cand dai /staff in joc https://imgur.com/a/CpwSTv5 CMD:staff(playerid) { mysql_tquery(SQL, "SELECT `name`,`Admin`,`Helper` FROM `users` ORDER BY `id` DESC, `Admin` DESC, `Helper` DESC;", "showStaff", "d", playerid); return 1; } forward showStaff(playerid); public showStaff(playerid) { if(cache_num_rows()) { new staff_string[126], string_mare[300]; string_mare[0] = (EOS); strcat(string_mare, "Name\tAdmin level\nHelper level\n"); for(new x; x < cache_num_rows(); x++) { new name[MAX_PLAYER_NAME]; cache_get_field_content(x, "name", name); new admin = cache_get_field_content_int(x, "Admin"); new helper = cache_get_field_content_int(x, "Helper"); format(staff_string, 126, "%s\t%d\t%d\n", name, admin, helper); strcat(string_mare, staff_string); } ShowPlayerDialog(playerid, 1, DIALOG_STYLE_TABLIST_HEADERS, "SERVER: List staff", string_mare, "Exit", ""); } return 1; }
  4. a,nu mai conteaza,ba,dar aici apar tate conturile gen,nu doar adminii / helperii
  5. dai te rog aici direct comanda ? please
  6. Sal,am si eu o problema la comanda /staff , ma poate ajuta cineva ? σνιι.α∂#7557
×
×
  • Create New...

Important Information

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. For more details you can also review our Terms of Use and Privacy Policy.