Ultimate-Mapchooser icon indicating copy to clipboard operation
Ultimate-Mapchooser copied to clipboard

[CS:GO] Left a message on the screen (Vote message)

Open SHAREN opened this issue 9 years ago • 0 comments

// 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();
}

SHAREN avatar Dec 25 '15 22:12 SHAREN