Raised This Month: $ Target: $400
 0% 

frags_death_rank_shower


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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