Listitem Help. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Listitem Help. (
/showthread.php?tid=563823)
Listitem Help. -
Prokill911 - 17.02.2015
DELETE ME
Re: Listitem Help. -
HazardouS - 17.02.2015
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.
Re: Listitem Help. -
Prokill911 - 17.02.2015
Didn't work.
Can you copy my code above an show me how to do it?