25.04.2015, 15:58
Well, I'm making an account system where you have a Master Account and Characters within the Master Account.
It all loads fine and dandy, however my dialog is only showing 1 of the 2 characters I have.
Id 0 = Good_Guy
Id 1 = Bad_Guy
Its only showing bad_guy
The query is fine, as if I do the same thing but with SendClientMessage I get both of the characters. Solution?
It all loads fine and dandy, however my dialog is only showing 1 of the 2 characters I have.
Id 0 = Good_Guy
Id 1 = Bad_Guy
Its only showing bad_guy
pawn Код:
new string[255];
for(new i = 0; i != rows; i++)
{
new Char[MAX_PLAYER_NAME];
cache_get_field_content(i, "Name", Char);
format(string, sizeof(string), "(%d) %s\n", (i+1), Char);
}
ShowPlayerDialog(playerid, DIALOG_SELECT_CHARACTER, DIALOG_STYLE_LIST, "Select Character", string, "Select", "Cancel");