Raised This Month: $ Target: $400
 0% 

show sprite to all


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-10-2010 , 06:19   show sprite to all
Reply With Quote #1

hi,

i tried to make a sprite but only team mates can see the sprite.
idk what i do wrong that other teams cant see the sprite.

Code:
//...ham Player  Spawn

CreateSprite(id)

//.....
public CreateSprite( id )
{    
    message_begin( MSG_ONE, SVC_TEMPENTITY );
    write_byte( TE_PLAYERATTACHMENT );
    write_byte( id );
    write_coord( 45 );
    write_short( g_ct_blue_spr ); 
    write_short( 32767 );
    message_end();
}
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-10-2010 , 06:35   Re: show sprite to all
Reply With Quote #2

MSG_ONE -> MSG_BROADCAST
__________________
Arkshine is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-10-2010 , 06:36   Re: show sprite to all
Reply With Quote #3

damn

i wanted to edit my post but you was faster

ty.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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 08:38.


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