Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SHAREN opened this issue Dec 25, 2015 · 0 comments
Open

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

SHAREN opened this issue Dec 25, 2015 · 0 comments

Comments

@SHAREN
Copy link

SHAREN commented Dec 25, 2015

// 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();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant