Raised This Month: $ Target: $400
 0% 

variable in hudmessage?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Belsebub
Senior Member
Join Date: Feb 2005
Location: Sweden
Old 03-29-2005 , 16:38   variable in hudmessage?
Reply With Quote #1

how to show a variable in a hudmessage?

i know how to show hp and stuff but not variables

hp example:
Code:
 public hpmessage(id)  {     new health[33]     get_user_health(id,health,32)     set_hudmessage(200, 200, 0, -1.0, 0.45, 2, 6.0, 3.0, 0.01, 0.1, 86)     show_hudmessage(id, "You have %i HP", health)     return PLUGIN_HANDLED  }

variabel?:
Code:
 public message(id)  {     new something[33]     ?????(id,something,32)     set_hudmessage(200, 200, 0, -1.0, 0.45, 2, 6.0, 3.0, 0.01, 0.1, 86)     show_hudmessage(id, "You have %i something", something)     return PLUGIN_HANDLED  }
Belsebub 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 09:52.


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