Jump to content

how to write two files s_dashboard.lua and c_dashboard.lua ?


nk0zkh0z

Recommended Posts

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
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_" :D

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...