Retrieve dialog listitem name
#4

Solved it by creating:
pawn Code:
new CharName[MAX_PLAYERS][CHARACTERS][32];
When fetching data from MySQL(afterwards putted to dialog):
pawn Code:
CharName[playerid][i] = Field;
i++;
So that i is equal to listitem.
And for data display(it is called under dialog):
pawn Code:
CharName[playerid][listitem];
Reply


Messages In This Thread
Retrieve dialog listitem name - by actiwe - 18.03.2011, 17:37
Re: Retrieve dialog listitem name - by Mauzen - 18.03.2011, 17:45
Re: Retrieve dialog listitem name - by Kyosaur - 18.03.2011, 17:45
Re: Retrieve dialog listitem name - by actiwe - 18.03.2011, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)