PHP Code:
new g_pChatMsg;
g_pChatMsg = register_cvar( "chatmsg" , "I like to eat food when I'm humgry" );
new szMsg[ 64 ];
get_pcvar_string( g_pChatMsg , szMsg , charsmax( szMsg ) );
client_print( id , print_chat , "cvar says %s" , szMsg );
__________________