Raised This Month: $ Target: $400
 0% 

frags_death_rank_shower


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
datka888
Member
Join Date: Oct 2011
Old 12-22-2011 , 13:37   frags_death_rank_shower
Reply With Quote #1

Hello everyone,First Of all sorry my bad english.

I have this plugin frags_death_shower,and i want also rank shower. Please help



frags_death_shower code

Quote:
#include <amxmodx>

#define PLUGIN "Frags & Deaths & HP Shower"
#define VERSION "2.0"
#define AUTHOR "maJic"

#define PERVIY "frags_deaths"
#define VTOROI "frags_deaths_type"

new gMaxPlayers

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)

register_cvar(PERVIY, "1")
register_cvar(VTOROI, "1")

set_task(0.2, "pokazivalka", 1, "", 0, "b")

gMaxPlayers = get_maxplayers()
}

public pokazivalka()
{
if(get_cvar_num(PERVIY))
{
new fragi, smerti

set_hudmessage(15, 15, 15, 0.01, 0.18, 0, 1.0, 1.0)

for( new id = 1; id <= gMaxPlayers; id++ )
{
switch(get_cvar_num(VTOROI))
{
case 1:
{
fragi = get_user_frags(id)
smerti = get_user_deaths(id)

show_hudmessage(id, "Frags: %i^nDeaths: %i", fragi, smerti)
}
default:
{
if(!is_user_alive(id))
{
fragi = get_user_frags(id)
smerti = get_user_deaths(id)

show_hudmessage(id, "Frags: %i^nDeaths: %i", fragi, smerti)
}
}
}
}
}
}
datka888 is offline
Send a message via Skype™ to datka888
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 12-22-2011 , 13:48   Re: frags_death_rank_shower
Reply With Quote #2

Please use the search next time. This took me 2 seconds to find by searching Rank HUD

http://forums.alliedmods.net/showthr...light=rank+hud
__________________

Last edited by joshknifer; 12-22-2011 at 13:49.
joshknifer is offline
Send a message via Skype™ to joshknifer
datka888
Member
Join Date: Oct 2011
Old 12-22-2011 , 14:16   Re: frags_death_rank_shower
Reply With Quote #3

Quote:
Originally Posted by joshknifer View Post
Please use the search next time. This took me 2 seconds to find by searching Rank HUD

http://forums.alliedmods.net/showthr...light=rank+hud
i want to rank shower will be under the radar. plase help.
datka888 is offline
Send a message via Skype™ to datka888
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 12-22-2011 , 14:28   Re: frags_death_rank_shower
Reply With Quote #4

I am not going to search for you this time...

Search "HUD Position"
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
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 20:46.


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