Jump to content

kerolous

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by kerolous

  1. hmm try this code i added on my script and worked and be sure that u put thedb.db at script file. addEventHandler ( "onResourceStart", resourceRoot, function ( resource ) handler = dbConnect ( "sqlite", "thedb.db" ) if ( handler ) then outputDebugString ( getResourceName ( resource ) ..": Successfully connected to SQLite database." ) dbExec ( handler, "CREATE TABLE IF NOT EXISTS 'housing' ( id INTEGER PRIMARY KEY, houseName TEXT, houseOwner TEXT, housePrice bigint(255), houseOriginalPrice bigint(255), houseForSale TEXT, housePosition TEXT, houseInterior INT, houseInteriorState TEXT, buyDate TEXT, streamURL TEXT )" )
  2. plane1 = createVehicle(520, 3306.6000976563, -1495.8000488281, 46.700000762939, 0, 0, 269.51831054688) -- make the number more t *X* to make it up
×
×
  • Create New...