unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Other FPS Games > Half Life

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 12-24-2006, 07:52 AM
zero_tolerance zero_tolerance is offline
Senior Member
 
Join Date: Dec 2006
Posts: 289
Default say_round

By Crazylord

Register our cvar:
Code:
cvar_s *roundtext;
At roundstart:
Code:
if (strcmp(roundtext->string, "empty")) {
	char temp[512];
	sprintf(temp, "say %s", roundtext->string);
	executeConsoleCommand(temp);
	executeConsoleCommand("say_round empty");
}
Somewhere to initialize the cvar
Code:
roundtext= pEngfuncs->pfnRegisterVariable("say_round", "0", FCVAR_ARCHIVE);}
Now ingame you can use something like this in the HL console:
Code:
say_round "this is a test"
I'm sure there are other and better methods then this, this only is how i do it
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
sayround

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:12 AM.