View Single Post
  #1  
Old 03-11-2010, 09:41 AM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
How do I use SQLite?

I have read the wiki post on it but I cannot seem to grasp the whole concept. Could someone post a dumbed down tutorial on it or an example like:

creating a table then adding something to it then making the player.chat something from the table.

I can't seem to grasp how to make a table, would I just do something similar to this?
PHP Code:
function onActionServerside(){
  
CREATE TABLE 'nicknames';
  for (
pl:allplayers){
    
INSERT INTO 'nicknames' pl.nick;
  }
}
//#CLIENTSIDE
function onCreated(){
  
triggerserver("gui",name,NULL);

SQLite makes me feel like I have the brain power of an autistic 3 year old. I'm just trying to get over the first hump and it should be smooth sailing after that.
Reply With Quote