hehehe... that's why I'm doing this in YaPB:
Code:
void UTIL_ShowMenu( edict_t *pEdict, int slots, int displaytime, bool needmore, char *pText )
{
if (gmsgShowMenu == 0)
gmsgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
while (strlen(pText) >= 64)
{
MESSAGE_BEGIN(MSG_ONE, gmsgShowMenu, NULL, pEdict);
WRITE_SHORT(slots);
WRITE_CHAR(displaytime);
WRITE_BYTE(1);
for (int i = 0; i <= 63; i++)
WRITE_CHAR(pText[i]);
MESSAGE_END();
pText += 64;
}
MESSAGE_BEGIN(MSG_ONE, gmsgShowMenu, NULL, pEdict);
WRITE_SHORT(slots);
WRITE_CHAR(displaytime);
WRITE_BYTE(needmore);
WRITE_STRING(pText);
MESSAGE_END();
}