31.05.2015, 17:43
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:
Those should be loaded or store to them according to the fine ID.
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]);