void MapVoteMenu (edict_t * ent, pmenu_t * p) { char buf[1024], sbuf[512]; PMenu_Close (ent); if (_MostVotesStr (sbuf)); sprintf (buf, "most: %s", sbuf); if (xMenu_New (ent, MAPMENUTITLE, buf, AddMapToMenu) == false) gi.cprintf (ent, PRINT_MEDIUM, "No map to vote for.\n"); }
void _MapWithMostVotes (void) { char buf[1024], sbuf[512]; if (_MostVotesStr (sbuf)) { sprintf (buf, "Most wanted map: %s\n", sbuf); gi.bprintf (PRINT_HIGH, strtostr2 (buf)); } }
void _MapWithMostVotes (void) { char buf[1024], sbuf[512]; if (_MostVotesStr(sbuf)) { Com_sprintf(buf, sizeof(buf), "Most wanted map: %s", sbuf); G_HighlightStr(buf, buf, sizeof(buf)); gi.bprintf(PRINT_HIGH, "%s\n", buf); } }