Trololarion Posted August 23, 2019 Share Posted August 23, 2019 I need to send entity to server using RPC. How i can do this? Please help! Link to comment Share on other sites More sharing options...
Developer zarklord_klei Posted August 23, 2019 Developer Share Posted August 23, 2019 what? all entities that the server needs to know about are already on the server, whatever your doing, your probably going about it the wrong way. Link to comment Share on other sites More sharing options...
Trololarion Posted August 23, 2019 Author Share Posted August 23, 2019 2 hours ago, Zarklord said: what? all entities that the server needs to know about are already on the server, whatever your doing, your probably going about it the wrong way. I mean, how to let the server understand which object the client is referring to when sending the RPC. Link to comment Share on other sites More sharing options...
Developer zarklord_klei Posted August 23, 2019 Developer Share Posted August 23, 2019 just send the entity, the game is smart enough to send the entity correctly. Link to comment Share on other sites More sharing options...
Trololarion Posted August 23, 2019 Author Share Posted August 23, 2019 49 minutes ago, Zarklord said: just send the entity, the game is smart enough to send the entity correctly. Oh, it’s just that RCP does not transmit tables in its pure form, but I thought that if an entity is a table, then RCP will not transfer it either. Thanks. Link to comment 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