Maris Posted September 24, 2015 Share Posted September 24, 2015 With minimum code... Link to comment https://forums.kleientertainment.com/forums/topic/58098-what-is-easiest-way-to-send-a-number-from-client-to-server/ Share on other sites More sharing options...
ZupaleX Posted September 25, 2015 Share Posted September 25, 2015 (edited) If it's just a number, a net_ variable would do the job no? Edited September 25, 2015 by ZupaleX Link to comment https://forums.kleientertainment.com/forums/topic/58098-what-is-easiest-way-to-send-a-number-from-client-to-server/#findComment-675854 Share on other sites More sharing options...
Maris Posted September 25, 2015 Author Share Posted September 25, 2015 @ZupaleX,Sadly, net_ variables are useless for this purpose. Link to comment https://forums.kleientertainment.com/forums/topic/58098-what-is-easiest-way-to-send-a-number-from-client-to-server/#findComment-675856 Share on other sites More sharing options...
ZupaleX Posted September 25, 2015 Share Posted September 25, 2015 What do you want to do exactly? Link to comment https://forums.kleientertainment.com/forums/topic/58098-what-is-easiest-way-to-send-a-number-from-client-to-server/#findComment-675859 Share on other sites More sharing options...
Maris Posted September 25, 2015 Author Share Posted September 25, 2015 I'd like to send local options of the mod from client to server. Link to comment https://forums.kleientertainment.com/forums/topic/58098-what-is-easiest-way-to-send-a-number-from-client-to-server/#findComment-675873 Share on other sites More sharing options...
ZupaleX Posted September 25, 2015 Share Posted September 25, 2015 Then a RPC would do the job I guess. Link to comment https://forums.kleientertainment.com/forums/topic/58098-what-is-easiest-way-to-send-a-number-from-client-to-server/#findComment-675875 Share on other sites More sharing options...
Developer PeterA Posted September 28, 2015 Developer Share Posted September 28, 2015 Then a RPC would do the job I guess Yup, I mentioned in the other thread (http://forums.kleientertainment.com/topic/52191-tournament-game-modes-and-mod-rpcs/), Maris will want to use SendModRPCToServer and AddModRPCHandler. Link to comment https://forums.kleientertainment.com/forums/topic/58098-what-is-easiest-way-to-send-a-number-from-client-to-server/#findComment-676565 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