SA-MP Forums Archive
All account Registered - 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: All account Registered (/showthread.php?tid=546472)



All account Registered - arlindi - 15.11.2014

Hello how are all here ?
I have 1 question actualy.




I want to create a command like CMD:ShowAccountRegistered.
And need to show all accounts are registered. Using Y.INI
Thanks for understand. Waiting for awnser.


Re: All account Registered - arlindi - 15.11.2014

Yep AnyOne?


Re: All account Registered - Kwarde - 15.11.2014

I first wanted to help you, but I changed my mind when I saw you bumpd this topic after 9 minutes.. really, don't do that. I always look through multiple pages and look at questions with 0 up to 2 replies. Please just bump after 24 hours. Thank you.


Re: All account Registered - arlindi - 15.11.2014

Yeah am sorry.
Can to help mee to show all accounts are registered


Re: All account Registered - Kwarde - 15.11.2014

Well, since you have seperate files for all users;

If you don't have any users yet, you could do the next thing:

When someone registers an account, save the name of that player into a file (so at some point, you'd get a file with quite alot names in it, all seperated line-by-line). Then you could easily read them (using fread). I can't think of a better way, except using MySQL or SQLite (a_sampdb).


Re: All account Registered - arlindi - 15.11.2014

i dont understand nothing Please explain mee it


Re: All account Registered - Kwarde - 15.11.2014

But I already explained it. How am I supposed to explain it to you while I already did?


Re: All account Registered - arlindi - 15.11.2014

HMm waiting for another awnser


Re: All account Registered - arlindi - 16.11.2014

AAnyOne ?


Re: All account Registered - arlindi - 17.11.2014

Anyone?