N3xT Posted August 19, 2018 Posted August 19, 2018 Hey, is it possible to add this feature, if the SQL table exists or not? Like this. executeSQLQuery("IS TABLE EXISTS players" ) Thanks!
Master_MTA Posted August 19, 2018 Posted August 19, 2018 Yeah, This would be amazing and useful for sure
MTA Team qaisjp Posted August 20, 2018 MTA Team Posted August 20, 2018 You can do this: local rows = executeSQLQuery("SELECT name FROM sqlite_master WHERE type='table' AND name='players'") if #rows == 1 then print("Exists") else print("Does not exist") end 2
Recommended Posts