Use the below code on a test server, join the server, then change the map and see what the log says:
PHP Code:
#pragma semicolon 1
#include <sourcemod>
public OnClientAuthorized(client, const String:auth[])
{
LogMessage("OnClientAuthorized fired for %L with SteamID %s", client, auth);
}
public Action:OnClientPreAdminCheck(client)
{
LogMessage("OnClientPreAdminCheck fired for %L", client);
}
public OnClientPostAdminCheck(client)
{
LogMessage("OnClientPostAdminCheck fired for %L", client);
}
public OnClientPutInServer(client)
{
LogMessage("OnClientPutInServer fired for %L", client);
}
public OnMapEnd()
{
LogMessage("*** Map Ended ***");
}
public OnMapStart()
{
LogMessage("*** Map Started ***");
}
__________________