Jump to content
  • 0

problem


WASSIm.

Question

8 answers to this question

Recommended Posts

  • 0

For the problem with removing resources with Admin panel try to download a new panel again and replace the whole admin resource. Or you maybe haven´t permission to do that.

Edited by Guest
Link to comment
  • 0
For the problem with removing resources with Admin panel try to download a new panel again and replace the whole admin resource. Or you maybe haven´t permission to do that. Check acl first and see if you have "command.deleteresource" true for you. Else do as I said, download the admin panel again.

script working but can't connect file and this if delete file normally auto create but tell me

outputDebugString ( "Failed to connect to file.db", 3 )

addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
        connection = dbConnect( "sqlite", "file.db" ) 
        if ( connection )then 
            dbExec ( connection, "..." ) - JUST FOR EXMPLE 
            outputDebugString ( "Successfully connected to file.db" ) 
        else 
            outputDebugString ( "Failed to connect to file.db", 3 ) 
        end 
    end 
) 

Link to comment
  • 0
addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
        if dbConnect( "sqlite", "file.db" ) then 
            outputDebugString ( "Successfully connected to file.db" ) 
        else 
            outputDebugString ( "Failed to connect to file.db", 3 ) 
        end 
    end 
) 

Link to comment
  • 0
addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
        if dbConnect( "sqlite", "file.db" ) then 
            outputDebugString ( "Successfully connected to file.db" ) 
        else 
            outputDebugString ( "Failed to connect to file.db", 3 ) 
        end 
    end 
) 

its exmple

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