24.02.2017, 16:36
Admins show help.........
IF TYP 0 = show admins online , but admins online not show
IF TYP 1 = show all admins server
IF TYP 0 = show admins online , but admins online not show
IF TYP 1 = show all admins server
Код:
new vypis[(MAX_PLAYER_NAME+32)*30+16]; new query[80]; new caption[16]; if (typ == 0) { mysql_format(handle, query, sizeof(query), "SELECT * FROM `ASystem` WHERE hodnost >=2 AND prihlaseny=1 ORDER BY hodnost DESC"); format(caption, sizeof(caption), "Online admini"); } else if (typ == 1) { mysql_format(handle, query, sizeof(query), "SELECT * FROM `ASystem` WHERE hodnost >=2 ORDER BY hodnost DESC"); format(caption, sizeof(caption), "Vљetci admini"); }