Raised This Month: $ Target: $400
 0% 

StatusText Message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 01-16-2007 , 16:20   Re: StatusText Message
Reply With Quote #4

Quote:
Originally Posted by Cheap_Suit View Post
Hello!

Alright, im using the StatusText Message to show a text message that is constantly being changed. So I was wondering where is the best place to hook it.
Hook it when the info is changed.(?)

EDIT: Maby like so?
Code:
#include <amxmodx> new gmsg_StatusText; public plugin_init()     gmsg_StatusText = get_user_msgid("StatusText"); stock show_StatusText(id, str[], len, ...) {     format_args(str, len);     message_begin(MSG_ONE_UNRELIABLE, gmsg_StatusText, {0,0,0}, id);     write_byte(0);     write_string(str);     message_end(); }

Last edited by [ --<-@ ] Black Rose; 01-16-2007 at 16:33.
[ --<-@ ] Black Rose is offline
 



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

Forum Jump


All times are GMT -4. The time now is 22:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode