fix drop weapon create
This commit is contained in:
@@ -560,6 +560,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
Vector3 textPos = dropPosition;
|
Vector3 textPos = dropPosition;
|
||||||
if (iItem is IWeaponDealItem obj)
|
if (iItem is IWeaponDealItem obj)
|
||||||
{
|
{
|
||||||
|
player.ClearAttachments();
|
||||||
dropPosition.Z -= 1.05f;
|
dropPosition.Z -= 1.05f;
|
||||||
grndObject = NAPI.Object.CreateObject(3666746839, dropPosition, new Vector3(0, 0, r.Next(0, 360)), 255, 0);
|
grndObject = NAPI.Object.CreateObject(3666746839, dropPosition, new Vector3(0, 0, r.Next(0, 360)), 255, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user