All pastes #354613 Raw Edit

Rick

public cpp v1 · immutable
·published 2007-02-14 01:50 UTC
rendered paste body
void m_SendChat(void *thiz, bool global, char **message){	void *client;	void *nameste;	char *name;	char ste[8];		client = getRPCSourceConnection();		nameste = getClientName(client);	name = getString(nameste);		Log(0, "%s(%d): %s\n", name, global, *message);		if (strcmp(*message, "/test") == 0)	{				StringTableEntry(ste, "testing one two three", 1);		s2cDisplayMessage(client, ColorNuclearGreen, SFXUIBoop, ste);		return;	}		c_SendChat->OldCall((unsigned long)thiz, global, message);}