Dimos7 Posted October 24, 2016 Share Posted October 24, 2016 I want in my loginpanel and player name not accepts color like hex colors can help me how i do that? Link to comment
Walid Posted October 24, 2016 Share Posted October 24, 2016 Use my useful function removeHex Link to comment
Dimos7 Posted October 26, 2016 Author Share Posted October 26, 2016 also i want ask if its possible have a group system and has enough rank and the rank place in databse without earer each other Link to comment
Dimos7 Posted October 28, 2016 Author Share Posted October 28, 2016 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 Link to comment
GTX Posted October 28, 2016 Share Posted October 28, 2016 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. Link to comment
Dimos7 Posted October 28, 2016 Author Share Posted October 28, 2016 i use mysql module but okay i undersatnd what do you mean Link to comment
Dimos7 Posted October 31, 2016 Author Share Posted October 31, 2016 i can put a gui edit on a dxCreateWindow? Link to comment
GTX Posted October 31, 2016 Share Posted October 31, 2016 Yes, but you need to attach it somehow if your window is movable. Link to comment
Dimos7 Posted November 9, 2016 Author Share Posted November 9, 2016 i got a create character system and i want put a limit so only a account can have 7 will be like function name >7 ? Link to comment
iPrestege Posted November 10, 2016 Share Posted November 10, 2016 2 hours ago, Dimos7 said: i got a create character system and i want put a limit so only a account can have 7 will be like function name >7 ? Use : http://www.lua.org/manual/5.1/manual.html#pdf-string.len Link to comment
Dimos7 Posted December 5, 2016 Author Share Posted December 5, 2016 (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 December 5, 2016 by Dimos7 Link to comment
ViRuZGamiing Posted December 5, 2016 Share Posted December 5, 2016 playSound soundPath: the filepath or URL of the sound file you want to play. Link to comment
Captain Cody Posted December 5, 2016 Share Posted December 5, 2016 Create a new topic for new questions. Link to comment
Dimos7 Posted December 5, 2016 Author Share Posted December 5, 2016 i need add something in meta so browser work and find the script? Link to comment
ViRuZGamiing Posted December 5, 2016 Share Posted December 5, 2016 (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 December 5, 2016 by ViRuZGamiing 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