Raised This Month: $ Target: $400
 0% 

Help Needed For Showing Hudmessage With Name,Hp,Ammo,...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
broertje
Senior Member
Join Date: Mar 2005
Old 10-16-2005 , 15:13   Help Needed For Showing Hudmessage With Name,Hp,Ammo,...
Reply With Quote #1

I Dont get it,its totally wrong....:
Code:
#include <amxmodx> #include <amxmisc> #define PLUGIN "New Plugin" #define VERSION "1.0" #define AUTHOR "Author" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_clcmd("say /myinfo", "sayInfo", 0, "- displays You're Info") } public sayInfo(id) get_user_ammo(id) get_user_health(id) get_user_name(id) set_hudmessage(255, 0, 0, -1.0, 0.00, 0, 6.0, 4.0) show_hudmessage(id, "Name:%s , %d , %L") }
broertje is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-16-2005 , 15:18  
Reply With Quote #2

Code:
#include <amxmodx> #include <amxmisc> #define PLUGIN "My Info" #define VERSION "1.0" #define AUTHOR "Zenith77" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_clcmd("say /myinfo", "sayInfo", 0, "- displays You're Info") } public sayInfo(id) {         new weapon, clip, ammo     new health     new name[32]     get_user_ammo(id, weapon, clip, ammo)         health = get_user_health(id)         get_user_name(id, name, 31)         set_hudmessage(255, 0, 0, -1.0, 0.00, 0, 6.0, 4.0)         show_hudmessage(id, "Name:%s  AMMO: %d HP:%d", name, ammo, health) }
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
broertje
Senior Member
Join Date: Mar 2005
Old 10-16-2005 , 15:19  
Reply With Quote #3

thx
broertje 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:49.


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