Clybzotik 0 Posted August 4, 2020 Share Posted August 4, 2020 Hi, when i try to start the server i get this error, but GTANetworkAPI connected on my script. What can I do in this situation? CS0246: The type or namespace name 'Client' could not be found String with error: public void OnPlayerConnected(Client player) Link to post Share on other sites
Xabi 220 Posted August 4, 2020 Share Posted August 4, 2020 You're using 1.1 version for the server and your script is on 0.3.7 version. Link to post Share on other sites
Clybzotik 0 Posted August 4, 2020 Author Share Posted August 4, 2020 Okey, how i can change version? Link to post Share on other sites
Xabi 220 Posted August 4, 2020 Share Posted August 4, 2020 You don't need to change your version, unless you want to develop on 0.3.7 version. You should just update your code following this link: Link to post Share on other sites
Clybzotik 0 Posted August 4, 2020 Author Share Posted August 4, 2020 Thx Link to post Share on other sites
Clybzotik 0 Posted August 4, 2020 Author Share Posted August 4, 2020 I try to rename server-side "Client" to "Player" but got the error again. Link to post Share on other sites
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