Possible close mysql connection from other .amxx ?
Is it possible to close mysql connection in A.amxx from B.amxx ?
I just don't know how global works in Amx mod x scripting.. if i define global variable: new x; // in A.amxx and new x; // in B.amxx they will conflict ? Any useful info about global in amxx will help, thanks. |
Re: Possible close mysql connection from other .amxx ?
use natives
|
Re: Possible close mysql connection from other .amxx ?
Unless everything has changed completely... don't tell anyone I am back >.> ... No a global variable is for the entire .amxx but will not transverse another. ( IE you create a global variable in a.amxx and identical name in b.amxx will not conflict. )
And if my memory serves ( but don't remember who maybe it was bail ) but quite awhile ago they had a nice article on global vs local variables in small... er sorry its not small anymore. |
Re: Possible close mysql connection from other .amxx ?
Quote:
|
Re: Possible close mysql connection from other .amxx ?
Why do you need to close it like that and why do you need mysql connection since you can use SQL_ThreadQuery which does not need it?
|
| All times are GMT -4. The time now is 08:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.