It works, thanks
I was testing the plugin and I've found out that donate and reset options in the menu does not give a respone in case you have access to It
It would be nice also, to save by ip and name in the mysql option
It is a very well done plugin, I will use It on my servers, I apreciate your work!
Quote:
Originally Posted by Supremache
I will fix it in the next version but for now replace this:
PHP Code:
formatex( szQuery, charsmax( szQuery ), "CREATE TABLE IF NOT EXISTS `%s` (ID INTEGER PRIMARY KEY AUTOINCREMENT,\
`SteamID` VARCHAR(%i) UNIQUE, `Cash` INT(%i) NOT NULL);", g_iSettings[ SQL_TABLE ], MAX_AUTHID_LENGTH, MAX_CASH_LENGTH );
PHP Code:
formatex( szQuery, charsmax( szQuery ), "CREATE TABLE IF NOT EXISTS `%s` (`SteamID` VARCHAR(%i) NOT NULL,\
`Cash` INT(%i) NOT NULL, PRIMARY KEY(SteamID));", g_iSettings[ SQL_TABLE ], MAX_AUTHID_LENGTH, MAX_CASH_LENGTH );
|