Jump to content

Get current backpack entity of a player


Zipcore

Recommended Posts

Hello there,

 

currently I'm working on a small project where I need to control which items a player drops when he dies. Does anyone know how I can get the backpack entity and give me some hints how I can make this work?

 

I can use EntityPlayerLocal.GetDroppedBackpackPosition to get the position and then cycle all entitys until I got the closest one. But maybe someone knows a better way todo this which is more stable in case there are multiple backpacks at this location.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...