AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   iplayervip sprite in head (https://forums.alliedmods.net/showthread.php?t=189559)

adbajota 07-08-2012 12:28

iplayervip sprite in head
 
hello. I'm trying to make a sprite appear above the head of the players that are "Nemesis".

The name of the sprite is "iplayervip". I have tried to make it work using addtofullpack, but the sprite hits the middle of the body (with any code).

I used this code and it worked, but I do not know how to make those who are not "Nemesis" will not see this sprite, and also that time is infinite (the death of the Nemesis sprite is removed):

PHP Code:

CreateSpriteid )
{
        
message_beginMSG_ALLSVC_TEMPENTITY );
        
write_byteTE_PLAYERATTACHMENT );
        
write_byteid );
        
write_coord65 );
        
write_shortid_playervip_spr ); 
        
write_short99999 );
        
message_end();


thanks in advance .


All times are GMT -4. The time now is 15:04.

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