General > Developers Corner
!motd and !donate?
Digital Spit:
I'm thinking of designing a donate page that works the same way as !motd but instead of !motd it would be !donate, when doing this would I just go to the file
\ulx\lua\ulx\modules\sh and look at "menus" or go to
\ulx\lua\ulx\modules\cl and look at motdmenu... or both of these files?
Megiddo:
Both of those files are used for the motd. The shared module is sending the data to the player, the client module is displaying it.
Digital Spit:
Okay, so for creating a !donate module I would need to mimic the directories but put them within addons?
Megiddo:
--- Quote from: Digital Spit on May 06, 2012, 02:40:47 PM ---Okay, so for creating a !donate module I would need to mimic the directories but put them within addons?
--- End quote ---
Yes. :)
JamminR:
Mimic directories.
Make new functions/variables.
Though technically you could keep/mimic same file names, I wouldn't, just to ensure they are easy to tell apart when looking at paths.
Navigation
[0] Message Index
[#] Next page
Go to full version