Listitem Help.
#2

You need some sort of array to store the id that correspons to a certain listitem.
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
Of course, you'll have to declare the "prisoners" variable somewhere before using it.
Reply


Messages In This Thread
Listitem Help. - by Prokill911 - 17.02.2015, 15:49
Re: Listitem Help. - by HazardouS - 17.02.2015, 16:05
Re: Listitem Help. - by Prokill911 - 17.02.2015, 16:31

Forum Jump:


Users browsing this thread: 1 Guest(s)