18.10.2011, 14:17
Every time you create a dynamic dialog list, you must cache its contents, like (pseudocode):
Try that
Код:
foreach Textdraw format(string, "%s textdraw %i\n",string, textdrawid); Cache[playerid][i] = textdrawid; i++ OnThatDialogResponse DoSomethingWithTextDraw(Cache[playerid][listitem])