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:
CreateSprite( id )
{
message_begin( MSG_ALL, SVC_TEMPENTITY );
write_byte( TE_PLAYERATTACHMENT );
write_byte( id );
write_coord( 65 );
write_short( id_playervip_spr );
write_short( 99999 );
message_end();
}
thanks in advance .