Dialog List with mysql rows
#9

At least, does it show the dialog? Try be more specific about what does not work so I can be aware as well.

Since the player can have more fines than 1, you can no longer use them without indexes and listitem is the actual index of it so:
pawn Код:
format(stringf,sizeof(stringf), "{FFFFFF}Agency: {4747A3}Los Santos Police Departament\n{FFFFFF}Addressee:{4747A3} %s\n{FFFFFF}Fine Inssuer: {4747A3} %s \n\n", sendername,FinesInfo[playerid][listitem][fPolitist]);
format(stringf2,sizeof(stringf2), "{FFFFFF}Amount:{4747A3}$%d\n{FFFFFF}Reason:{4747A3} %s\n",FinesInfo[playerid][listitem][fPret],FinesInfo[playerid][listitem][fPentru]);
Those should be loaded or store to them according to the fine ID.
Reply


Messages In This Thread
Dialog List with mysql rows - by Dominic123 - 31.05.2015, 15:59
Re: Dialog List with mysql rows - by Konstantinos - 31.05.2015, 16:07
Re: Dialog List with mysql rows - by Dominic123 - 31.05.2015, 16:19
Re: Dialog List with mysql rows - by Dokins - 31.05.2015, 16:19
Re: Dialog List with mysql rows - by Dominic123 - 31.05.2015, 16:21
Re: Dialog List with mysql rows - by Konstantinos - 31.05.2015, 16:28
Re: Dialog List with mysql rows - by Dominic123 - 31.05.2015, 16:52
Re: Dialog List with mysql rows - by Dominic123 - 31.05.2015, 17:32
Re: Dialog List with mysql rows - by Konstantinos - 31.05.2015, 17:43
Re: Dialog List with mysql rows - by Dominic123 - 31.05.2015, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)