Raised This Month: $51 Target: $400
 12% 

AMXX Sprite show on kill


Post New Thread Reply   
 
Thread Tools Display Modes
iBrazilian
Senior Member
Join Date: May 2011
Old 01-28-2012 , 18:19   Re: AMXX Sprite show on kill
Reply With Quote #11

Like for example ... You see the 1 KILL sprite there when he killed someone.. I want a plugin to show it just like that. Only when you kill someone.

__________________
Pokemod Season 5 [ |||||||||| Complete]
iBrazilian is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 01-28-2012 , 18:27   Re: AMXX Sprite show on kill
Reply With Quote #12

It's the HUD -> So it's impossible currently, sorry
__________________
micapat is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 01-28-2012 , 18:29   Re: AMXX Sprite show on kill
Reply With Quote #13

Is there any other way available that is allowed to add the Sprite? Even if it's in the general area?

EDIT:
Here sir: http://forums.alliedmods.net/showthread.php?t=159584

That's AMXMODX is it not? and it's a sprite!
__________________
Pokemod Season 5 [ |||||||||| Complete]

Last edited by iBrazilian; 01-28-2012 at 18:30.
iBrazilian is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 01-28-2012 , 18:31   Re: AMXX Sprite show on kill
Reply With Quote #14

Don't work. I tested many time.
__________________
micapat is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 01-28-2012 , 18:32   Re: AMXX Sprite show on kill
Reply With Quote #15

Check this other one... https://forums.alliedmods.net/showth...highlight=icon

If you're allowed to add HUD sprite into a players screen how is this not possible?
Sorry about this, I'm still learning.
__________________
Pokemod Season 5 [ |||||||||| Complete]
iBrazilian is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-28-2012 , 18:33   Re: AMXX Sprite show on kill
Reply With Quote #16

Quote:
Originally Posted by iBrazilian View Post
Check this other one... https://forums.alliedmods.net/showth...highlight=icon

If you're allowed to add HUD sprite into a players screen how is this not possible?
Sorry about this, I'm still learning.
Those are the default sprites. You can set those on the hud but not custom ones & you can't change the position.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 01-28-2012 , 18:34   Re: AMXX Sprite show on kill
Reply With Quote #17

This works because these sprites are in your game. But you can't show custom sprites
__________________
micapat is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 01-28-2012 , 18:37   Re: AMXX Sprite show on kill
Reply With Quote #18

Damn, :/ This makes me sad.. It won't ever be available since shitty valve or anyone works on these things anymore and won't be developed.. Thanks for the help.. Well can you make one then will show on the server side? Instead of it being on a player screen? that'd be fine i guess. Also micapat i once saw your plugin and i think i might have tried it out! it's funny!
__________________
Pokemod Season 5 [ |||||||||| Complete]
iBrazilian is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 01-28-2012 , 18:40   Re: AMXX Sprite show on kill
Reply With Quote #19

I try it, but that's doesn't work very well.

Look that : http://www.youtube.com/watch?v=a7tx3FyaGJY

First part : on a local server.
Second part : on a online server.

Quote:
Originally Posted by iBrazilian View Post
Also micapat i once saw your plugin and i think i might have tried it out! it's funny!
Thank you x)
__________________

Last edited by micapat; 01-28-2012 at 18:40.
micapat is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 01-28-2012 , 18:43   Re: AMXX Sprite show on kill
Reply With Quote #20

I see, Yeah pretty impossible then.
I have this plugin here,


PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <cstrike>

new g_fire

public plugin_precache()
{
   
g_fire=precache_model("sprites/test/playedkilled.spr")
}
public 
plugin_init()
{
   
register_plugin("ZV Effect","1.0","defa")
   
register_event("DeathMsg","onDeath","a")
}
public 
onDeath()
{
new 
victim=read_data(2)

new 
CsTeams:team=cs_get_user_team(victim)
if(
team==CS_TEAM_T)
{
set_task(3.0,"fire",victim)      
}
}
fire_zombie(origin[3])
{
   
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
   
write_byte(TE_SPRITE)
   
write_coord(origin[0])
   
write_coord(origin[1])
   
write_coord(origin[2]+=30)
   
write_short(g_fire)
   
write_byte(8)
   
write_byte(255)
   
message_end()
}
public 
fire(victim)
{
   new 
origin[3]
   
get_user_origin(victim,origin)
   
   
fire_zombie(origin)

I tried when you kill a player it will show a sprite but I can't make sprite for shit.. Used PS5 and all but nothing and the code is still messy:/
__________________
Pokemod Season 5 [ |||||||||| Complete]

Last edited by iBrazilian; 01-28-2012 at 18:44.
iBrazilian is offline
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 11:49.


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