OnPlayerFinishedDownloading not being called on Localhost
#1

Hi, I am having trouble with OnPlayerFinishedDownloading not being called on the Windows Server (Localhost)

Here is the code for OnPlayerFinishedDownloading:
PHP код:
public OnPlayerFinishedDownloading(playeridvirtualworld)
{
    print(
"OnPlayerFinishedDownloading called");//Only added this to confirm that it wasn't being called.
    
if(Player[playerid][IsLoggedIn] == false)
    {
        
printf("OnPlayerFinishedDownloading(%d)"playerid);
        new 
query[128];
        
mysql_format(g_SQLquerysizeof(query), "SELECT * FROM `bans` WHERE `IPAddress` = '%e' LIMIT 1"GetUserIP(playerid));
        
mysql_tquery(g_SQLquery"OnPlayerIPCheck""d"playerid);
    }
    return 
1;

Console Log:
Код:
[connection] 127.0.0.1:50292 requests connection cookie.
[connection] incoming connection: 127.0.0.1:50292 id: 0
Incoming connection for player ID 0 [IP/port: 127.0.0.1:50292]
[join] Seanny has joined the server (0:127.0.0.1)
OnPlayerConnect
Cannot save Seanny, not logged in.
[part] Seanny has left the server (0:1)
Reply
#2

Just making sure, are the models or skins successfully loaded?

If you don't have any custom models/skins try turning off artwork ("artwork 0" in server.cfg).
Reply
#3

My server does run custom models, but when I disable them using artwork 0 or re-enable them using artwork 1, it still does not work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)