Quote:
Originally Posted by matrixmark
As well as my above question :p
I am seeing duplicated lines in the log window and I cant figure out why....
Any help with this would be appreciated... as you can imagine on versus its crazy spam in the logs...oh it does the same with connect messages as well.
|
I fixed this bug.
Original lines for Action:Event_PlayerConnect:
Code:
public Action:Event_PlayerConnect(Handle:event, const String:name[], bool:dontBroadcast)
{
if(!GetConVarBool(sm_chatlogex_srvmsgs) || !GetConVarBool(sm_chatlogex_showplayercon))
Modified line:
Code:
public Action:Event_PlayerConnect(Handle:event, const String:name[], bool:dontBroadcast)
{
if(!GetConVarBool(sm_chatlogex_srvmsgs) || !GetConVarBool(sm_chatlogex_showplayercon) || dontBroadcast)
Original lines for Action:Event_PlayerDisconnect:
Code:
public Action:Event_PlayerDisconnect(Handle:event, const String:name[], bool:dontBroadcast)
{
if(!GetConVarBool(sm_chatlogex_srvmsgs) || !GetConVarBool(sm_chatlogex_showplayercon))
Modified line:
Code:
public Action:Event_PlayerDisconnect(Handle:event, const String:name[], bool:dontBroadcast)
{
if(!GetConVarBool(sm_chatlogex_srvmsgs) || !GetConVarBool(sm_chatlogex_showplayercon) || dontBroadcast)
This also gets rid of "player connected" messages at the start of each map for players already in the game.