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

How to put Sprite in HUD?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-20-2011 , 11:48   How to put Sprite in HUD?
Reply With Quote #1

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..
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
liinuus
Senior Member
Join Date: Apr 2010
Old 09-20-2011 , 12:19   Re: How to put Sprite in HUD?
Reply With Quote #2

its not possible to put custom sprites on HUD
liinuus is offline
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-20-2011 , 12:43   Re: How to put Sprite in HUD?
Reply With Quote #3

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
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-20-2011 , 13:18   Re: How to put Sprite in HUD?
Reply With Quote #4

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

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 09-20-2011 , 13:19   Re: How to put Sprite in HUD?
Reply With Quote #5

Quote:
Originally Posted by Krle View Post
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
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-20-2011 , 13:54   Re: How to put Sprite in HUD?
Reply With Quote #6

Like i kill you, and simple sprite shows to you, like HUD msg, or somethins
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
avril-lavigne
Banned
Join Date: Apr 2009
Old 09-20-2011 , 14:38   Re: How to put Sprite in HUD?
Reply With Quote #7

use TE_playerattachment on
client_death event
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-20-2011 , 15:06   Re: How to put Sprite in HUD?
Reply With Quote #8

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?
__________________

Sorry about my BAD English

Last edited by Krle; 09-20-2011 at 15:42.
Krle is offline
Send a message via MSN to Krle
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 09-20-2011 , 19:00   Re: How to put Sprite in HUD?
Reply With Quote #9

http://2.bp.blogspot.com/_4Cyq6Izomi...ogo_sprite.jpg
__________________
kramesa is offline
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-21-2011 , 07:41   Re: How to put Sprite in HUD?
Reply With Quote #10

wtf
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
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 03:14.


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