if server send "%s xxx"

client console will shoe red error message "Bad format string in
CLocalizeStringTable::ConstructString"

does valve escape that?

i only tested in css, may be OB, l4d, works too

the following code can show you how work
bf_write *usr_msg = usermsgs->StartMessage(SayText2,players,total,0);
if(usr_msg)
{
usr_msg->WriteByte(color);
usr_msg->WriteByte(0);
usr_msg->WriteString("%s something");
usermsgs->EndMessage();
}

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to