IMHO I don't think that there is a protobuf yet, we can't even use html in it, the color is controlled with the variable instead of html.
Please don't use this entity spawning script when you can fire the event..
PHP Code:
new Handle:event = CreateEvent("instructor_server_hint_create");
if (event == INVALID_HANDLE)
{
return;
}
SetEventString(event, "hint_name", "RandomHint");
SetEventString(event, "hint_replace_key", "RandomHint");
SetEventInt(event, "hint_target", 0);
SetEventInt(event, "hint_activator_userid", 0);
SetEventInt(event, "hint_timeout", 20 );
SetEventString(event, "hint_icon_onscreen", "icon_tip");
SetEventString(event, "hint_icon_offscreen", "icon_tip");
SetEventString(event, "hint_caption", "Testing..");
SetEventString(event, "hint_activator_caption", "Testing..");
SetEventString(event, "hint_color", "255 0 0");
SetEventFloat(event, "hint_icon_offset", 0.0 );
SetEventFloat(event, "hint_range", 0.0 );
SetEventInt(event, "hint_flags", 1);// Change it..
SetEventString(event, "hint_binding", "");
SetEventBool(event, "hint_allow_nodraw_target", true);
SetEventBool(event, "hint_nooffscreen", false);
SetEventBool(event, "hint_forcecaption", false);
SetEventBool(event, "hint_local_player_only", false);
FireEvent(event);
This will be visible to all players when they have gameinstructor_enable 1 and your server sv_gameinstructor_disable 0, they need to be in a team, alive and on ground. ( All those thing are hackable but gameinstructor_enable not and EVERYONE has disabled it anyway so don't waste more time on this please. )
You can't block those annoying instructions since they aren't even serverside. Proof? Here:
PHP Code:
HookEvent("instructor_server_hint_create", Event_HintCreate);
HookEvent("instructor_server_hint_stop", Event_HintStop);
public Action:Event_HintStop(Handle:event, const String:name[], bool:dontBroadcast)
{
PrintToServer(">>> Fired instructor_server_hint_stop!!");
return Plugin_Continue;
}
public Action:Event_HintCreate(Handle:event, const String:name[], bool:dontBroadcast)
{
new hint_target = GetEventInt(event, "hint_target");
PrintToServer(">>> Fired instructor_server_hint_create!! hint_target: %d", hint_target);
return Plugin_Continue;
}
What are you talking about train? Train has nothing to do with messages, it is just a func_tracktrain and stuff..
edit:
Btw why is the csgo event list outdated?
https://wiki.alliedmods.net/Counter-...fensive_Events