Ejemplo n.º 1
0
void ConfigVoteMenu (edict_t * ent, pmenu_t * p)
{
  char buf[1024], sbuf[512];

  PMenu_Close (ent);
  if (_ConfigMostVotesStr (sbuf));
  sprintf (buf, "most: %s", sbuf);
  if (xMenu_New (ent, CONFIGMENUTITLE, buf, AddConfigToMenu) == false)
    gi.cprintf (ent, PRINT_MEDIUM, "No config to vote for.\n");
}
Ejemplo n.º 2
0
void _ConfigWithMostVotes (void)
{
	char buf[1024], sbuf[512];

	if (_ConfigMostVotesStr (sbuf))
	{
		sprintf (buf, "Most wanted config: %s\n", sbuf);
		gi.bprintf (PRINT_HIGH, strtostr2 (buf));
	}
}
Ejemplo n.º 3
0
void _ConfigWithMostVotes (void)
{
	char buf[1024], sbuf[512];

	if (_ConfigMostVotesStr(sbuf))
	{
		Com_sprintf(buf, sizeof(buf), "Most wanted config: %s", sbuf);
		G_HighlightStr(buf, buf, sizeof(buf));
		gi.bprintf(PRINT_HIGH, "%s\n", buf);
	}
}