View Single Post
muukis
Veteran Member
Join Date: Apr 2009
Old 08-20-2009 , 08:43   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #589

Quote:
Originally Posted by Whosat View Post
...
That UTF-8 encoding is already in there. Maybe you have set the browser or your web server incorrectly?
PHP Code:
public ConnectDB()
{
    if (
SQL_CheckConfig("l4dstats"))
    {
        new 
String:Error[256];
        
db SQL_Connect("l4dstats"trueErrorsizeof(Error));

        if (
db == INVALID_HANDLE)
            
LogError("Failed to connect to database: %s"Error);
        else
            
SendSQLUpdate("SET NAMES 'utf8'");
    }
    else
        
LogError("Database.cfg missing 'l4dstats' entry!");

About the rest of the stuff you mentioned... Download the attachment and overwrite the older file.

I will not take over the support or the development of this plugin. I just wanted to upload some improvements I sought useful for me atleast. SPeaking of which... I uploaded an improved version of the customized plugin right back HERE. If you already downloaded the customized plugin, please redownload the new one.

EDIT: uploaded player.php
Attached Files
File Type: zip player.zip (1.8 KB, 231 views)

Last edited by muukis; 08-20-2009 at 09:00. Reason: player.php
muukis is offline