Jump to content

SQL =(


MasterTobi

Recommended Posts

hey

i have to start whit SQL Scripting so;

i searched in this Forum and nothing help´s me. I used the Wiki, the Wiki says, use

function createSQLOnStart ()
-- create our table, if it doesn't already exist
executeSQLCreateTable ( "players", "clothes_head_texture TEXT, clothes_head_model TEXT, player TEXT" )
end
addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()),createSQLOnStart )

so when i restart my server then creates me a new table -.-

can i don´t save the actual Table ?! with SQL ?! =(

i have sqllitedatabaseBrowser, and i have created a database with DatabaseName(Accounts) and "options" PlayerName and Password

i have to start this databse with the functions from mta, is there any way !?

or have anybody a good tutorial for sql ?!

Thx a lot

Tobi

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