AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Showing the sprite to a specific player (https://forums.alliedmods.net/showthread.php?t=184888)

turtle14 05-10-2012 03:00

Showing the sprite to a specific player
 
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? :(

striker07 05-10-2012 04:17

Re: Showing the sprite to a specific player
 
Quote:

Originally Posted by turtle14 (Post 1706045)
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??


All times are GMT -4. The time now is 00:30.

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