GhostXoP Posted December 20, 2012 Share Posted December 20, 2012 Say i have 10 players on line, with a client side and server side script, each script contains one variable called ScriptVarCLIENT and ScriptVarSERVER correct me if im wrong (if i am, tell me, its the question basically), but would that mean there are 10 ScriptVarCLIENT variables (Per client, there is one duplication of this variable), and only 1 ScriptVarSERVER Variable? (For the server, no duplication only one variable) ? Link to comment
Castillo Posted December 20, 2012 Share Posted December 20, 2012 If you create a variable server sided, it'll be global, for every player, but if you create it client side, it'll be unique for each client. Link to comment
GhostXoP Posted December 20, 2012 Author Share Posted December 20, 2012 Perfect explanation, thank you. 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