So i got this but it still remains after tossing the bone club.
if (hitInfo.ProjectilePrefab != null)
{
hitInfo.ProjectilePrefab.remainInWorld = false;
} So i got this but it still remains after tossing the bone club.
if (hitInfo.ProjectilePrefab != null)
{
hitInfo.ProjectilePrefab.remainInWorld = false;
} Could try killing the DroppedItem when it spawns. Make sure to put it on a small delay though otherwise you will get kicked with an RPC error.
0x89A
Could try killing the DroppedItem when it spawns. Make sure to put it on a small delay though otherwise you will get kicked with an RPC error.
He need to specify what he is trying to do. Remove DROPPED item or remove FLYING item (thrown with right+left click)
trying to Remove it in the OnPlayerAttack(BasePlayer player, HitInfo info) when tossed..
i can remove the spear with info.ProjectilePrefab.sourceWeaponPrefab?.Kill(); but seems bone club ramains sometimes when tossed.