20.04.2014, 06:55
Okay, so I want to create a dialog with style DIALOG_STYLE_LIST.
The problem is, I don't know the items inside that list for sure.
my question is, how do I add them?
================================================== ================
Let's say I want that list to consist all players online.
How do I do that?
My suggestion, by logic would be:
How do I do that?
=Thanks in Advance
The problem is, I don't know the items inside that list for sure.
my question is, how do I add them?
================================================== ================
Let's say I want that list to consist all players online.
How do I do that?
My suggestion, by logic would be:
pawn Код:
CMD:showplayers(playerid, params[])
{
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
// Somehow add him to the list
}
}
}
=Thanks in Advance