On the map they have
vgui_world_text_panel and need change text with script, but how to do it idk
PHP Code:
void ChangeDisplayText()
{
char sBuffer[100];
int lastEdictInUse = GetEntityCount();
for (int entity = MaxClients+1; entity <= lastEdictInUse; ++entity)
{
if ( !IsValidEdict(entity) )
continue;
GetEdictClassname(entity, sBuffer, sizeof(sBuffer));
if (!StrEqual(sBuffer, "vgui_world_text_panel")) continue;
GetEntPropString(entity, Prop_Data, "m_iName", sBuffer, sizeof(sBuffer));
if (!StrEqual(sBuffer, "player")) continue;
SetEntPropString(entity, Prop_Data, "here i got a brain daMage", "Yep");
}
}