Raised This Month: $32 Target: $400
 8% 

help me


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
261869247
Member
Join Date: Nov 2009
Location: 中国
Old 11-07-2009 , 03:41   help me
Reply With Quote #1

can be anti to edit and translate this plugin
as for connecting of cs kill a plugin
Attached Thumbnails
Click image for larger version

Name:	kill.jpg
Views:	998
Size:	20.2 KB
ID:	53131  
__________________



Last edited by 261869247; 09-06-2011 at 03:00.
261869247 is offline
Send a message via AIM to 261869247 Send a message via MSN to 261869247
261869247
Member
Join Date: Nov 2009
Location: 中国
Old 11-07-2009 , 04:04   Re: help me
Reply With Quote #2

I need the source code of this plugin very much
everyone helps me
__________________


261869247 is offline
Send a message via AIM to 261869247 Send a message via MSN to 261869247
stevenisecko138
Senior Member
Join Date: Dec 2008
Location: CA
Old 11-07-2009 , 04:06   Re: help me
Reply With Quote #3

ya there's no source code i dont think anyone can help you buddy, Btw the plugin looks nice and something new
stevenisecko138 is offline
Send a message via AIM to stevenisecko138
261869247
Member
Join Date: Nov 2009
Location: 中国
Old 11-07-2009 , 05:39   Re: help me
Reply With Quote #4

thanks for answer
__________________



Last edited by 261869247; 11-08-2009 at 02:52.
261869247 is offline
Send a message via AIM to 261869247 Send a message via MSN to 261869247
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-07-2009 , 05:51   Re: help me
Reply With Quote #5

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.
__________________
Arkshine is offline
AoD90
Senior Member
Join Date: Jul 2008
Location: Ugljevik/RS/BIH
Old 11-07-2009 , 06:23   Re: help me
Reply With Quote #6

Could you write your own code with these sprites and HUD to imitate this plugin?
AoD90 is offline
Send a message via MSN to AoD90
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-07-2009 , 06:51   Re: help me
Reply With Quote #7

I will try.
__________________
Arkshine is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 11-07-2009 , 07:33   Re: help me
Reply With Quote #8

Yes, probably easily. Hardest part would be getting the angles right, like right in front of the player, creating then destroying the sprite.
Styles is offline
Send a message via AIM to Styles
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-07-2009 , 07:55   Re: help me
Reply With Quote #9

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.
__________________
Arkshine is offline
just75100
Member
Join Date: Oct 2008
Old 11-07-2009 , 20:28   Re: help me
Reply With Quote #10

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== 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==1 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== 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==1 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
}
just75100 is offline
Reply


Thread Tools
Display Modes

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:13.


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