06.03.2013, 10:56
I wanna change this dialog but how? O_O
pawn Код:
// This command lists all commands for normal players (admin-level 0)
COMMAND:cmds(playerid, params[])
{
// Send the command to all admins so they can see it
SendAdminText(playerid, "/cmds", 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;
}