Hi everyone, i would like to make a database like an inventory but to store "CID" (5 random numbers). BUT I don't know how to do this. At ALL.
if someone can help me :/
I'd either look into SQLite which is built into the game, or MySQL; I wouldn't recommend using PData because of the way it stores data.. Take a look at what you'd need to do to convert data from PData to SQL Inserts: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/database/converting_sv_db_to_mysql.lua.html[/url]
because things are stored as ( excluding <>s ): <uniqueid>[<column_name>], <data>
You can write your own queries... ie using CREATE TABLE ..., etc... and it'll make conversions easier [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/database/basic_queries_and_query_formats_used_to_check_for_existing_row.lua.html[/url]
Sorry, you need to Log In to post a reply to this thread.