Sounds like you are creating a weapon for a player and when dropped it becomes a weaponbox entity. You want to make it so when another player picks it up (touches the weaponbox), he gets the same weapon that the original player dropped?
Try this
PHP Code:
//Set weapon ID to weaponbox entity
set_pev( iEntity , pev_iuser1 , WeaponID );
//When touched, retrieve weapon ID from entity
WeaponID = pev( iEntity , pev_iuser1 );
__________________