FerniFrenito Posted September 19, 2025 Share Posted September 19, 2025 Hi. My problem is that my mod receives a target animal's table (a buffalo, for example), but I need to modify its loot component to add a loot bonus. On the client, the animal doesn't have that component; it only has it on the server. How can I identify the animal on the server? I've tried using the GUID or the table ID, but it's not the same on both sides. I think one solution is to get the world position and look it up on the server with FindEntities, but that doesn't seem like a good solution. Is there any other way? Link to comment https://forums.kleientertainment.com/forums/topic/168073-how-can-i-identify-a-thing-in-server-side/ Share on other sites More sharing options...
Rickzzs Posted September 23, 2025 Share Posted September 23, 2025 server data→SendRPCToClient→client data→SendRPCToServer The client and server is determined by a player's entity The data is a raw type or serializable table or entity (yes the engine Will match it for you). 1 Link to comment https://forums.kleientertainment.com/forums/topic/168073-how-can-i-identify-a-thing-in-server-side/#findComment-1836974 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now