Jump to content

3vo

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by 3vo

  1. So ok, I fixed it and the reason of problem imo was I had couple of data base files with the same name "global.db" and my script loaded some other data which did not contain the table, just created own sqlite file and everything goes on.
  2. So i ve created a script that moves string from gui edit box to server and then i want the text to be exported in sqlite database, server says there is no such a table but I see the table is there so what s the problem? --CLIENT function outputEditBox ( button ) if button == "left" then text = guiGetText ( gui.editbox ) triggerServerEvent ( "creatovcheek", resourceRoot, text ) end end --SERVER function listofgrid (arenaname) --table.insert(tablel, arenaname) --dbazo = exports.db:konekcja() local dbazo = exports.db:konekcja() dbExec( dbazo, "INSERT INTO areny(nazwa) VALUES (?)", arenaname) end addEvent( "creatovcheek", true ) addEventHandler( "creatovcheek", resourceRoot, listofgrid )
×
×
  • Create New...