Guest Posted October 1, 2008 Share Posted October 1, 2008 Hi all. I created a gamemode in the "server" type. I see now the "client" type functions, and I want to create another gamemode in the "client". But... in all the functions, I cant choose a player. For example, in outputChatBox I cant choose a "visibleTo" parameter like in the "server". How I cant get a player to do him something? (sorry for my bad english) Link to comment
robhol Posted October 1, 2008 Share Posted October 1, 2008 I have NO idea what you mean, but basically, outputChatBox only needs the visibleTo argument server-side. When used client-side it assumes you mean the client it runs on. Also, creating a gamemode in the client-side is pretty much a bad idea, if even possible. Link to comment
eAi Posted October 1, 2008 Share Posted October 1, 2008 You need to use a combination of client and server scripting. Client scripts, as a rule, can't change anything on the server. They can communicate with server scripts using events though. Client scripts should be used as little as possible, as they're more open to abuse. 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