I don't think there's enough demand to add it to SourceMod itself and SMLIB hasn't been updated for years.
Here's a stock for it, you just have to know which reason number to pass it (which could be put into a pair of enums... one for TF2 and one for CS:GO).
PHP Code:
stock CallVoteFailed(client, reason, time)
{
new Handle:message = StartMessageOne("CallVoteFailed", client, USERMSG_RELIABLE);
if (GetUserMessageType() == UM_Protobuf)
{
PbSetInt(message, "reason", reason);
PbSetInt(message, "time", time);
}
else
{
BfWriteByte(message, reason);
BfWriteShort(message, time);
}
EndMessage();
}
(Note: This is in the older SM syntax for compat reasons)
(Note 2: This was backported from the SM 1.7 syntax version of the NativeVotes plugin)
__________________