/cmds in dialogbox
#4

Код:
// This command lists all commands for normal players (admin-level 0)
COMMAND:cmds(playerid, params[])
{
	// Check if the player has logged in
	if (APlayerData[playerid][LoggedIn] == true)
	{
		CommandList_Create(playerid); // Create a list of commands (only the first 4 commands) and show the dialog
	}
	else
	    return 0;

	// Let the server know that this was a valid command
	return 1;
}
Reply


Messages In This Thread
/cmds in dialogbox - by NviDa - 30.03.2015, 17:48
Re: /cmds in dialogbox - by CalvinC - 30.03.2015, 17:52
Re: /cmds in dialogbox - by NviDa - 30.03.2015, 17:57
Re : /cmds in dialogbox - by Wassimo - 30.03.2015, 17:58
Re: /cmds in dialogbox - by CalvinC - 30.03.2015, 18:09
Re: /cmds in dialogbox - by NviDa - 30.03.2015, 18:12
Re: /cmds in dialogbox - by NoDi522 - 30.03.2015, 18:20
Re: /cmds in dialogbox - by CalvinC - 30.03.2015, 18:34

Forum Jump:


Users browsing this thread: 2 Guest(s)