17.02.2015, 16:05
You need some sort of array to store the id that correspons to a certain listitem.
Of course, you'll have to declare the "prisoners" variable somewhere before using it.
pawn Код:
//add this near your "strcat"
Array[prisoners++] = playerid;
//Under OnDialogResponse, Array[listitem] will be the id of the player that will be bailed out