[HELP] SQL Problem.
Hey all..
I have a plugin that connects on plugin init to MySQL, Now - because that he gets the SQL details from cvars (amx_sql , etc..), And they are definied only after the plugins starts and running, It returns an Error, and because of that the plugin ends and If I want to make it work, I have to change the server map or restart.. Any ideas? Thanks in advanced, Elad. |
Re: [HELP] SQL Problem.
You could try saving the SQL CVars into a text file.
Read from the file at game-start, and whenever the cvar gets changed rewrite to the file with the new data. Convoluted, maybe, but it may work better. Also, you missed important thing #9 - learn to use the fucking apostrophe correctly. |
| All times are GMT -4. The time now is 02:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.