Raised This Month: $ Target: $400
 0% 

Friendly Team can see sprite...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kketan77
Member
Join Date: Apr 2012
Location: India
Old 07-13-2014 , 00:22   Friendly Team can see sprite...
Reply With Quote #1

Hello, I created sprite on players head which is visible to friendly team but when this sprite created the enemy team also can see this sprite.

How i can make this sprite's visibility limited to friendly team?
(e.g. Just like radio commands which create sprite above player head & visible to friendly team)

PHP Code:
                message_begin(MSG_ALLSVC_TEMPENTITY)
                
write_byte(TE_PLAYERATTACHMENT)
                
write_byte(id)
                
write_coord(60)            
                
write_short(g_Pass_SprId)
                
write_short(20)            
                
message_end() 
I don't want adding and removing method like this plugin Team Icon Spr v1.0.4

Thanks in Advance
__________________
♚ || -=[ḰḝṮẫṊ]=- || ᕙ(`▽´)ᕗ || (⊙.⊙(☉_☉)⊙.⊙) || ⁀⊙﹏☉⁀

Last edited by kketan77; 07-13-2014 at 00:23.
kketan77 is offline
Send a message via Yahoo to kketan77
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-13-2014 , 05:03   Re: Friendly Team can see sprite...
Reply With Quote #2

Try sending the message only to the people you want rather than everybody.
Backstabnoob 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 21:17.


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