Raised This Month: $ Target: $400
 0% 

StatusText


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cronck
Member
Join Date: Apr 2005
Old 04-24-2005 , 13:14   StatusText
Reply With Quote #1

I have this function to tell a user about their level, and XP.
But when a user it aiming/pointing at another player the message gets resetted.
How can i prevent this message from disappear when users look at eachother?

Code:
public CreateStatusText(id) {     if (!armymod)         return PLUGIN_HANDLED             new Text[60]     format(Text, 60, "[Level: %i] [XP: %i] Next Level in %i XP", PlayerLevel[id], PlayerXP[id], Levels[PlayerLevel[id]] - PlayerXP[id]);     message_begin(MSG_ONE, get_user_msgid("StatusText"), {0, 0, 0}, id);     write_byte(0);     write_string(Text);     message_end();         return PLUGIN_CONTINUE }
Cronck 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 16:48.


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