Porque esto no funciona o.0
#6

Код:
CMD:ahelp(playerid,params[])
{
	new data[825];
	#pragma unused params
	if(AccInfo[playerid][LoggedIn] && AccInfo[playerid][Level] >= 1)
	{
		strcat(data, "___________ |- LuxAdmin System - Help -| ___________");
		strcat(data, ". Admin: /level [1/2/3/4/5] - See Admin Commands of Level");
		strcat(data, ". Credits: /lcredits");
		strcat(data, ". Account: /"#RegisterCommand", /"#LoginCommand", /"#ChangePassCommand"");
		strcat(data, ". Stats: /stats, /resetstats");
		strcat(data, ". Players: /"#RegisterCommand", /"#LoginCommand", /report, /stats, /time, /"#ChangePassCommand", /resetstats, /getid");
		strcat(data, ". IMPORTANT: /observations");
		}
		else if(AccInfo[playerid][LoggedIn] && AccInfo[playerid][Level] < 1)
		{
		strcat(data, "___________ |- LuxAdmin System - Help -| ___________");
	 	strcat(data, "Player Commands:");
		strcat(data, "/"#RegisterCommand", /"#LoginCommand", /report, /stats, /time, /"#ChangePassCommand", /resetstats, /getid");
		}
		else if(AccInfo[playerid][LoggedIn] == 0)
	{
	strcat(data, "___________ |- LuxAdmin System - Help -| ___________");
	strcat(data, "ERROR:");
	strcat(data, "You are not logged in! Log in for see help");
	//fuera del
	}
        ShowPlayerDialog(playerid, 123456, DIALOG_STYLE_MSGBOX, "Admin help:", data, "Close", ""); //condicional
	return 1;
}
Reply


Messages In This Thread
Porque esto no funciona o.0 - by SilverGaming - 31.12.2016, 13:44
Re: Porque esto no funciona o.0 - by Swedky - 31.12.2016, 14:33
Re: Porque esto no funciona o.0 - by SilverGaming - 31.12.2016, 14:48
Re: Porque esto no funciona o.0 - by Swedky - 31.12.2016, 14:54
Re: Porque esto no funciona o.0 - by SilverGaming - 31.12.2016, 14:57
Re: Porque esto no funciona o.0 - by Jpew - 31.12.2016, 15:12
Re: Porque esto no funciona o.0 - by SilverGaming - 31.12.2016, 15:50
Re: Porque esto no funciona o.0 - by SilverGaming - 01.01.2017, 02:36
Respuesta: Porque esto no funciona o.0 - by EdinsonWalker - 01.01.2017, 07:34
Re: Porque esto no funciona o.0 - by SilverGaming - 01.01.2017, 12:19

Forum Jump:


Users browsing this thread: 1 Guest(s)