![]() ![]() Initialize hook might or might not be needed, so check that.Īfter all that your table should be pretty much always up to date, so you can read from it however you want, maybe even sort it based on the saved times. Now, when you need to load the data (on server start, I guess?), you could read that file, convert it into a table with a similar reverse function and set that to your variables in the Lua file. I leave this up to you since your question doesn't tell me much. ![]() Here you will have to account and update the table / file along with your gamemode events, like dropping the weapon, player dying with the weapon, round ends, or whatever. Now you may or may not, depending on your needs, parse this table to json and save it to a file, those 2 functions are the basic ones you'll need: When doing that you want to save player's ID, preferably Steam64. ![]() In the callback you do necessary checks and whatnot, then you store this info in your table: Then you use one of those hooks: I think second one will be better and more reasonable for you to use. Generic Model Organism Database (GMOD), a software project for model organism databases. If you don't wanna use database and only store the times, why not use tables and if needed, parse them to json and save that file in the garrysmod/data folder.įirst you create a table on the server, doesn't have to be global assuming you're gonna access it's reference only in the same file, either a or a You can also attend project meetings.Three main ways you could store that kind of data: Existing and potential users are encouraged to provide feedback via mailing lists or the help desk. Contribution of new tools, adoption of existing ones, and improving the documentation are all welcome. Support introduces each support option (this web site, GMOD Mailing Lists, Training and Outreach activities (including GMOD Schools), and the GMOD Help Desk) and offers guidance on which one is the most appropriate for your question.Īs an open source project GMOD relies on the donation of time and software by groups and individuals. GMOD support is available from several different sources. ![]() If GMOD looks promising for your needs, consider attending the next GMOD community meeting. Read the GMOD overview for the big picture, or visit GMOD Components for a comprehensive list of GMOD tools. Welcome to the Generic Model Organism Database project, a collection of open source software tools for managing, visualising, storing, and disseminating genetic and genomic data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |