06.05.2015, 10:19
pwn(2977) : error 035: argument type mismatch (argument 1)
pwn(3016) : error 035: argument type mismatch (argument 1)
-------------------------------------------------------------------------------------------------------------
stock CheckPlayerAccount( playerid )
{
format( gsQuery, 256, "SELECT `IP` FROM `Accounts` WHERE `Name` = '%s'", PlayerName( playerid ) );
mysql_query( gsQuery, THREAD_CHECK_ACCOUNT_USERNAME, playerid ); //Line 2977
}
---------------------------------------------------------------------------------------------------------------
format( gsQuery, 512, "SELECT * FROM `Banlist` WHERE `IP` = '%s' OR `Name` = '%s'", connecting_ip, PlayerName( playerid ) );
mysql_query( gsQuery, THREAD_CHECK_BANS_LIST, playerid ); //Line 3016
TogglePlayerSpectating(playerid, true);
LoadRemoveBuildings( playerid );
return ( 1 );
}
pwn(3016) : error 035: argument type mismatch (argument 1)
-------------------------------------------------------------------------------------------------------------
stock CheckPlayerAccount( playerid )
{
format( gsQuery, 256, "SELECT `IP` FROM `Accounts` WHERE `Name` = '%s'", PlayerName( playerid ) );
mysql_query( gsQuery, THREAD_CHECK_ACCOUNT_USERNAME, playerid ); //Line 2977
}
---------------------------------------------------------------------------------------------------------------
format( gsQuery, 512, "SELECT * FROM `Banlist` WHERE `IP` = '%s' OR `Name` = '%s'", connecting_ip, PlayerName( playerid ) );
mysql_query( gsQuery, THREAD_CHECK_BANS_LIST, playerid ); //Line 3016
TogglePlayerSpectating(playerid, true);
LoadRemoveBuildings( playerid );
return ( 1 );
}