nk0zkh0z Posted March 9, 2015 Share Posted March 9, 2015 Someone please teach me how to write 2 this file: - s_dashboard.lua & - c_dashboard.lua I do not know about the command, the command of .lua someone please point me to create one script and put it on the database Link to comment
Mr_Moose Posted March 9, 2015 Share Posted March 9, 2015 A basic version, add this into a text file and name it "meta.xml". <meta> <script src="s_dashboard.lua" type="server" /> <script src="c_dashboard.lua" type="client" protected="true" /> </meta> Then create the two files "s_dashboard.lua" and "c_dashboard.lua" and put all three files into a new directory and give it a useful name like "dashboard", type "/refresh" in the server console then "/start dashboard" and you'll have your resource up and running. Good luck Link to comment
nk0zkh0z Posted March 9, 2015 Author Share Posted March 9, 2015 A basic version, add this into a text file and name it "meta.xml". <meta> <script src="s_dashboard.lua" type="server" /> <script src="c_dashboard.lua" type="client" protected="true" /> </meta> Then create the two files "s_dashboard.lua" and "c_dashboard.lua" and put all three files into a new directory and give it a useful name like "dashboard", type "/refresh" in the server console then "/start dashboard" and you'll have your resource up and running. Good luck Thank you! I mean how to create two files "s_" and "c_" Link to comment
SpecT Posted March 10, 2015 Share Posted March 10, 2015 I think that he means how to make the code. Probably he saw these file names from another resource (dashboard) and wants to make new one. Link to comment
nk0zkh0z Posted March 10, 2015 Author Share Posted March 10, 2015 I think that he means how to make the code. Probably he saw these file names from another resource (dashboard) and wants to make new one. Yes, I want to create a dashboard-system script. But I do not know what to do first 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