Raised This Month: $ Target: $400
 0% 

Showing the sprite to a specific player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
turtle14
Junior Member
Join Date: Mar 2012
Old 05-10-2012 , 03:00   Showing the sprite to a specific player
Reply With Quote #1

Hi

I have this code:

PHP Code:
stock util_p_killattachment(index)
{
    if(!
is_user_connected(index))
        return;
    
    
message_begin(MSG_ALLSVC_TEMPENTITY)
    
write_byte(TE_KILLPLAYERATTACHMENTS);
    
write_byte(index);
    
message_end();
}

stock util_p_attach(index)
{
    
message_begin(MSG_ONE_UNRELIABLESVC_TEMPENTITY_index)
    
write_byte(TE_PLAYERATTACHMENT);
    
write_coord(45);
    
write_short(ID_party_spr);
    
write_short(32767);
    
message_end();

I want to do is to not see the player sprite has no levels (g_level[index])

I've seen some addtofullpack but does not show the sprite as in the previous code. How I can solve it?
turtle14 is offline
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 05-10-2012 , 04:17   Re: Showing the sprite to a specific player
Reply With Quote #2

Quote:
Originally Posted by turtle14 View Post
Hi
I want to do is to not see the player sprite has no levels (g_level[index])

I've seen some addtofullpack but does not show the sprite as in the previous code. How I can solve it?
what??
striker07 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 00:30.


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