help please
#1

Admins show help.........

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");
	}
Reply
#2

I hope you realize that you need to actually send the query?
Reply
#3

And you should really use English as the field names and variable names.
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
I hope you realize that you need to actually send the query?
If he is making this kind of question, I am guessing he hasn't realized that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)