Guest Posted July 10, 2018 Share Posted July 10, 2018 Hello there I wanted to ask you guys when i must do client.lua and server.lua because theres resources with them both and theres resources with server.lua only Link to comment
Moderators IIYAMA Posted July 10, 2018 Moderators Share Posted July 10, 2018 (edited) It all depends which computer should execute the code. They run in different environments, even if you run a server on your own device. 1. server (code) Server = computer PING / (~ 2) is IN BETWEEN client and server! = delay = LAG 2. client (same code for every client) client = player = computer client = player = computer client = player = computer etc. Edited July 10, 2018 by IIYAMA Link to comment
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