FLUFFY2 Posted September 15, 2014 Share Posted September 15, 2014 Hi there, I have been modding for 2 years now but this part is unclear to me. I sending a packet from the server to ALL clients and play a custom moving sound there. Now the problem is when i start the server it keeps crashing because ISound is only client side. BUT I SENDING THE F*CKING PACKET TO THE CLIENT!!! Why does the server care about what is in the packet? I mean its ment to be for the client not the server. I want to send the packet from the server and let the client to do all the stuff. If you can please help me! Thanks! Quote Link to comment Share on other sites More sharing options...
sequituri Posted September 15, 2014 Share Posted September 15, 2014 Client-side only classes do not even exist on a server, so you cannot reference them. You send a code that tells the client what it needs to create the ISound. Quote -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img] Link to comment Share on other sites More sharing options...
FLUFFY2 Posted September 16, 2014 Author Share Posted September 16, 2014 Indeed, thats looks like fixed my problem. Thank you guys its working now! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.