SA-MP Forums Archive
Listing submitted reports +rep - 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: Listing submitted reports +rep (/showthread.php?tid=377041)



Listing submitted reports +rep - RLGaming - 12.09.2012

So I have /report and /acceptreport and /markfalse in my gamemode, but how can I get it so I do /reports and it will list ALL submitted reports, since
say an admin just logs in there could be 3 reports before he logged in but he cant seem them since you only get alerted if theres a report when they just submit it

so any help on this please?

+rep to anyone who can help


Re: Listing submitted reports +rep - mamorunl - 12.09.2012

You need to save the reports in some way. Best way to do that is where you'd normally push them to the admin since that is where the info is all gathered already. Then you need a check to see if an admin has been online or is online and show the stuff.


Re: Listing submitted reports +rep - RLGaming - 12.09.2012

I have no idea how to do that!


Re: Listing submitted reports +rep - mamorunl - 12.09.2012

Well, seeing as you already have a usersystem in place which saves user data, how can you not know how to save stuff?


Re: Listing submitted reports +rep - RLGaming - 12.09.2012

I do know how to save stuff, just not saving text.

Since if they did /reports it would say the text they entered, but I have no idea how to save text and make it load etc


Re: Listing submitted reports +rep - RLGaming - 12.09.2012

anyone?