AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   /hp say hp&ammor (https://forums.alliedmods.net/showthread.php?t=45270)

Der_Langsame 09-27-2006 13:38

/hp say hp&ammor
 
Hi!
I'm searching for a plugin, thats outputs a voice saying the health- and armor-points if i say ".hp" or "/hp" in the chat.

I were pleased, if you would give a me link ;)

Thanks for your help.
sorry for my bad english

Wilson [29th ID] 09-27-2006 14:29

Re: /hp say hp&ammor
 
Code:
public plugin_init() {     register_concmd("say /hp", "print_hp")     register_concmd("say .hp", "print_hp") } public print_hp(id) {     new g_health = get_user_health(id)     client_print(id, print_chat, "HP: %i", g_health)     return PLUGIN_HANDLED }

XxAvalanchexX 09-27-2006 15:59

Re: /hp say hp&ammor
 
I believe he wants a vox announcement.

Der_Langsame 09-29-2006 12:49

Re: /hp say hp&ammor
 
hallo
i cant good english sorry
is the plugin ok?
Run it?

Edit:I cant compil the plugin! Why?

Der_Langsame 09-29-2006 13:11

Re: /hp say hp&ammor
 
No i need the plugin when i died and I use .hp or /hp in chat the server say me how many hp and ammor the ct or terror has^^.
sorry for my bad english
look this server use the plugin 81.95.0.66:27025 use .hp in chat when you died!


All times are GMT -4. The time now is 04:47.

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