Trasfering to dialog
#2

Most people ask a question and don't post their code. You seem to do the opposite. What's the problem?

Edit: I just now saw the title

Код:
	new info[2048];
	format(info, 2048, "Commands:\n");


	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");

	if(PlayerInfo[playerid][pAdmin] >= 1) format(info, 2048, "%sline 1\n", info);
	if(PlayerInfo[playerid][pAdmin] >= 1) format(info, 2048, "%sline 2\n", info);
	if(PlayerInfo[playerid][pAdmin] >= 1) format(info, 2048, "%setc\n", info);
	if(PlayerInfo[playerid][pAdmin] >= 1) format(info, 2048, "%setc\n", info);
	//Add all the commands yourself.

ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, "Help", info, "Close", "");
Reply


Messages In This Thread
Trasfering to dialog - by Team_PRO - 03.06.2014, 12:04
Re: Trasfering to dialog - by ikkentim - 03.06.2014, 12:11
Re: Trasfering to dialog - by Threshold - 03.06.2014, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)