AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Server info for SQL (https://forums.alliedmods.net/showthread.php?t=13928)

wsellers 06-03-2005 12:14

Server info for SQL
 
Hi!

I have a CD-Moderator plugin that works great on my server, but, unfortunately, the sql.cfg information doesn't seem to be available during plugin_init so I had to hardcode the server ip, user and password into the plugin.

(After a user reaches a certain score ratio, his Steam_Id is entered into a MySQL table and then CD is required for him)

When does the information in the sql.cfg become available? What's the best way to get it?

Thanks!!!!

v3x 06-03-2005 12:17

Re: Server info for SQL
 
Quote:

Originally Posted by wsellers
Hi!

I have a CD-Moderator plugin that works great on my server, but, unfortunately, the sql.cfg information doesn't seem to be available during plugin_init so I had to hardcode the server ip, user and password into the plugin.

(After a user reaches a certain score ratio, his Steam_Id is entered into a MySQL table and then CD is required for him)

When does the information in the sql.cfg become available? What's the best way to get it?

Thanks!!!!

Your web-host.


All times are GMT -4. The time now is 16:50.

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