Raised This Month: $51 Target: $400
 12% 

SQL_TConnect with custom settings


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dangerlord63
Senior Member
Join Date: Aug 2011
Old 04-29-2020 , 14:27   SQL_TConnect with custom settings
Reply With Quote #1

Hi guys,

is there any way to use SQL_TConnect like SQL_ConnectCustom ? without writing any info to databases.cfg
dangerlord63 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-30-2020 , 12:04   Re: SQL_TConnect with custom settings
Reply With Quote #2

nvm

Last edited by Bacardi; 04-30-2020 at 12:08.
Bacardi is offline
Zarvan13
Junior Member
Join Date: Apr 2020
Location: Hungary
Old 04-30-2020 , 13:53   Re: SQL_TConnect with custom settings
Reply With Quote #3

https://sm.alliedmods.net/new-api/dbi/SQL_TConnect
__________________
[CONTACT INFORMATION]
Steam:https://steamcommunity.com/id/zarvan13/
Email: [email protected]
Discord: Zarvan13#1314
Or simply PM me on this forum!
[END]
Zarvan13 is offline
dangerlord63
Senior Member
Join Date: Aug 2011
Old 04-30-2020 , 17:00   Re: SQL_TConnect with custom settings
Reply With Quote #4

i didn't meant how am i going to use SQL_TConnect, i now the usage.
i want to use threaded sql support with custom key value pair for username and password that defined in PLUGIN not in databases.cfg
dangerlord63 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-30-2020 , 17:07   Re: SQL_TConnect with custom settings
Reply With Quote #5

No - databases.cfg is the only place, it decouples configuration from code.
__________________
asherkin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode