Ulysses
General => Developers Corner => Topic started by: Digital Spit on May 05, 2012, 10:41:31 PM
-
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?
-
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.
-
Okay, so for creating a !donate module I would need to mimic the directories but put them within addons?
-
Okay, so for creating a !donate module I would need to mimic the directories but put them within addons?
Yes. :)
-
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.
-
Okay :)
I gotta take the time to say something about my time spent on ulysses forums.
You guys are very helpful and I prefer coming here for help or to talk to people. Everything about your website is just awesome. Gotta say I'm glad I have the perks of ULX administrating my server and have an awesome staff to help me out or to talk to me :)