AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to put Sprite in HUD? (https://forums.alliedmods.net/showthread.php?t=167805)

Krle 09-20-2011 11:48

How to put Sprite in HUD?
 
So i have question, how to put a simple sprite image in players HUD after he types /showmesprite, or something... i need an example plugin..

liinuus 09-20-2011 12:19

Re: How to put Sprite in HUD?
 
its not possible to put custom sprites on HUD

Krle 09-20-2011 12:43

Re: How to put Sprite in HUD?
 
Im pretty sure it is, cause i saw plugin, but it puts sprite on upper players head, so im pretty sure its possible to put in hud ;S

abdul-rehman 09-20-2011 13:18

Re: How to put Sprite in HUD?
 
You can use my plugin to set sprite on player's HUD:
http://forums.alliedmods.net/showthread.php?t=159584

Flipper_SPb 09-20-2011 13:19

Re: How to put Sprite in HUD?
 
Quote:

Originally Posted by Krle (Post 1559534)
Im pretty sure it is, cause i saw plugin, but it puts sprite on upper players head

It's possible. But you ask about how to put sprite in HUD

Krle 09-20-2011 13:54

Re: How to put Sprite in HUD?
 
Like i kill you, and simple sprite shows to you, like HUD msg, or somethins :)

avril-lavigne 09-20-2011 14:38

Re: How to put Sprite in HUD?
 
use TE_playerattachment on
client_death event

Krle 09-20-2011 15:06

Re: How to put Sprite in HUD?
 
How exactly i do that?

PHP Code:

message_begin(MSG_ALLSVC_TEMPENTITY)
        
write_byte(TE_PLAYERATTACHMENT)
        
write_byte(attacker)
        
write_coord(60)
        
write_short(first_blood_spr)
        
write_short(100)
        
message_end() 

I found this, i think it will work?

kramesa 09-20-2011 19:00

Re: How to put Sprite in HUD?
 
http://2.bp.blogspot.com/_4Cyq6Izomi...ogo_sprite.jpg

Krle 09-21-2011 07:41

Re: How to put Sprite in HUD?
 
wtf


All times are GMT -4. The time now is 19:42.

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