Jump to content

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


nk0zkh0z

Recommended Posts

Posted

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 :(

Posted

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 ;)

Posted
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

Posted

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.

Posted
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

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...