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 Skype : 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001 every thing is gonna be alright every thing is gonna be okay it's gonna be a good good life that's what my therapist say
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