kajahun Posted November 30, 2023 Share Posted November 30, 2023 Hey guys! My question is where should I store static data? For exaple list of achievements, or list of weapon config (damage, model etc). In a local XML file, or an uniqe sql table? Thank you! 1 Link to comment
FlorinSzasz Posted November 30, 2023 Share Posted November 30, 2023 (edited) 1 hour ago, kajahun said: Hey guys! My question is where should I store static data? For exaple list of achievements, or list of weapon config (damage, model etc). In a local XML file, or an uniqe sql table? Thank you! If you dont update the data you can store it in a script in a table serverside also if you rly want then you can use sql / xml which way you know to use better. weapon_data = { [1] = {--data1....} [2] = {--data2...} } --- so on.... Also if you use a table dont use ,,local`` only the table variable like i wrote before. Edited November 30, 2023 by FlorinSzasz Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now