It takes more than just that. Their lottery system includes MySQL, so its not just writing it in a text file. It would take a little bit of work. So no one is gonna do this for free.
|
So i saw this lottery system on near reality where players buy a ticket for 5 mil, and when they click on it they entered the lottery how would i make it when someone clicks a item their character name will be written down in a specific .txt file?
would be repped!
It takes more than just that. Their lottery system includes MySQL, so its not just writing it in a text file. It would take a little bit of work. So no one is gonna do this for free.
yes i know but thats not what im asking. I want to know how to make it when u click an item it writes a name down on a .txt file
bump
PI already has the required methods. Just look in the playerAssistant class, and search for writecommandlog or so then just use that method to write playernames instead.
Use your brain please
bump
Write name on file and store it on array --> profit and every reset re download the list and when choosing the winner just remove everything from file and array, easy enough?
bump
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |