Jump to content

Question


Dimos7

Recommended Posts

Posted

Hello guys i want make a faction system and when press create button rank place a database a column and when press the deleted button rank deleted the colunm

Posted

Use db functions.

dbConnect
dbQuery
dbExec
dbPoll

Assuming that you mean row instead of column, you can do it like this:

-- Connect to SQLite
local d = dbConnect("sqlite", "groups.db")
-- Create table
dbExec(d,"CREATE TABLE IF NOT EXISTS groups (name TEXT)")
-- Insert row
dbExec(d,"INSERT INTO groups VALUES (?)","group name")
-- Remove row
dbExec(d,"DELETE FROM groups WHERE name=?","group name")

Note that this isn't full script, just an example.

  • 2 weeks later...
  • 4 weeks later...
Posted (edited)

 i want create a live music put name of song and play it from youtube i know need but how i will make it have sound only

createBrowser()
setBrowserVolume()
loadBrowserURL()

 

Edited by Dimos7
Posted (edited)
1 hour ago, Dimos7 said:

i need add something in meta so browser work and find the script?

You shouldn't add it in the meta with playSound when using an URL

 

(Sound specified by filepath has to be predefined in the meta.xml file with <file /> tag.)

Edited by ViRuZGamiing

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