help me
1 Attachment(s)
can be anti to edit and translate this plugin
as for connecting of cs kill a plugin |
Re: help me
I need the source code of this plugin very much
everyone helps me |
Re: help me
ya there's no source code i dont think anyone can help you buddy, Btw the plugin looks nice and something new :wink:
|
Re: help me
thanks for answer
:) |
Re: help me
I don't think the code is interesting, it uses just probably an event like StatuIcon to show the HUD sprites from hud.txt file. What is important is the sprites and hud.txt files.
|
Re: help me
Could you write your own code with these sprites and HUD to imitate this plugin?
|
Re: help me
I will try.
|
Re: help me
Yes, probably easily. Hardest part would be getting the angles right, like right in front of the player, creating then destroying the sprite.
|
Re: help me
styles, you're wrong.
It's used the HUD. hud.txt file has been modified. So it's not a matter to create entity, angles and such, just using one event to display these sprites. |
Re: help me
public show_spr(id, idspr)
{ new type_cvar = get_cvar_num("nst_ek_type") if (type_cvar == 1) { new sec_c = get_systime() time_show_set[id] = sec_c hide_spr(id, spr_current[id]) spr_current[id] = idspr new spr_name[33] if (idspr==1) spr_name = "kill_1" if (idspr==2) spr_name = "kill_2" if (idspr==3) spr_name = "kill_3" if (idspr==4) spr_name = "kill_4" if (idspr==5) spr_name = "kill_5" if (idspr==6) spr_name = "kill_6" if (idspr==7) spr_name = "kill_7" if (idspr==8) spr_name = "kill_8" if (idspr==9) spr_name = "kill_first" if (idspr==11) spr_name = "kill_he" if (idspr==12) spr_name = "kill_headshot" if (idspr==13) spr_name = "kill_headshot_gold" if (idspr==14) spr_name = "kill_knife" if (idspr==15) spr_name = "kill_last" if (idspr==16) spr_name = "kill_revenge" if (idspr==17) spr_name = "c4_defuse" if (idspr==18) spr_name = "c4_set" if(!(pev(id,pev_button) & FL_ONGROUND)) { message_begin(MSG_ONE,iconstatus,{0,0,0},id); write_byte(1); // status (0=hide, 1=show, 2=flash) write_string(spr_name); // sprite name message_end(); } } return PLUGIN_CONTINUE } public hide_spr(id, idspr) { new spr_name[33] if (idspr==1) spr_name = "kill_1" if (idspr==2) spr_name = "kill_2" if (idspr==3) spr_name = "kill_3" if (idspr==4) spr_name = "kill_4" if (idspr==5) spr_name = "kill_5" if (idspr==6) spr_name = "kill_6" if (idspr==7) spr_name = "kill_7" if (idspr==8) spr_name = "kill_8" if (idspr==9) spr_name = "kill_first" if (idspr==11) spr_name = "kill_he" if (idspr==12) spr_name = "kill_headshot" if (idspr==13) spr_name = "kill_headshot_gold" if (idspr==14) spr_name = "kill_knife" if (idspr==15) spr_name = "kill_last" if (idspr==16) spr_name = "kill_revenge" if (idspr==17) spr_name = "c4_defuse" if (idspr==18) spr_name = "c4_set" if(!(pev(id,pev_button) & FL_ONGROUND)) { message_begin(MSG_ONE,iconstatus,{0,0,0},id); write_byte(0); // status (0=hide, 1=show, 2=flash) write_string(spr_name); // sprite name message_end(); spr_current[id] = 0 } return PLUGIN_CONTINUE } public check_spr(id) { new idspr = spr_current[id] if (idspr > 0) { new sec_c = get_systime() new time_check = sec_c - time_show_set[id] if (time_check>time_show) hide_spr(id, idspr) } return PLUGIN_CONTINUE } |
All times are GMT -4. The time now is 03:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.