Raised This Month: $ Target: $400
 0% 

Hudmessage With Hp,Name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
broertje
Senior Member
Join Date: Mar 2005
Old 11-02-2005 , 11:13   Hudmessage With Hp,Name
Reply With Quote #1

How do i do this:
Code:
new name new health public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_event("ResetHUD", "resetModel", "b") } public resetModel(id, level, cid)             {              get_user_name(id, name)         get_user_health(id,health) set_hudmessage(255, 255, 255, 0.5, -1.0, 0, 6.0, 12.0) show_hudmessage(id, "%s Has %s HP",name,health) }
Its totally messed up but i forgot how i do this,i had it once...
But i cant find it where i saved it
broertje is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 11-02-2005 , 11:23  
Reply With Quote #2

Code:
#include <amxmodx> #define PLUGIN  "My Plugin" #define VERSION "1.0" #define AUTHOR  "broertje" public plugin_init() {   register_plugin(PLUGIN, VERSION, AUTHOR)   register_event("ResetHUD", "resetModel", "b") } public resetModel(id)     {   new name[33]   get_user_name(id,name,32)   new health = get_user_health(id)   set_hudmessage(255, 255, 255, 0.5, -1.0, 0, 6.0, 12.0,_,_,4)   new message[64]   format(message,63,"%s Has %i HP",name,health)   show_hudmessage(id,message) }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Reply



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 23:53.


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