Ultimate-Mapchooser
Ultimate-Mapchooser copied to clipboard
[CS:GO] Left a message on the screen (Vote message)
// C - Center Message // S - Chat Message // T - Top Message // H - Hint Message
// V - Post how the voting
This plugin http://hlmod.ru/forum/utverjdionnye-plaginy/27977-reklama-v1-3-a.html implemented this feature
void VotePrintAll(const char[] tx)
{
Protobuf v = view_as<Protobuf>(StartMessageAll("VotePass", USERMSG_RELIABLE));
v.SetInt("team", -1);
v.SetString("disp_str", "#SFUI_Scoreboard_NormalPlayer");
v.SetString("details_str", tx);
v.SetInt("vote_type", 0);
EndMessage();
}