Jump to content
Sign in to follow this  
Vincent Edwards

Hints when target is hit don't show up correctly

Recommended Posts

Hey fellows, I made a shooting range mission for multiplayer.

I added hints to show up for the players, when they hit a target. I placed a target and wrote down

this addEventHandler ["Hit", {hint "Lane 1: \n\n Target hit. \n Range 25m."}]

in the init of the target.

The problem is, the hint shows up, but only for me and not for the other players on the server. Is there any way to fix that? Of course I want all players to get their hints when they hit a target.

Thx for your help!

Share this post


Link to post
Share on other sites

Hi, I am doing something similar. What is different is that I use the event handler "HitPart" (this I guess is not really relevant), and I use it in a script instead of the init of the target. I am not sure why it works, but I guess that in your case, only the server "knows" that the target has been hit, while in mine, since the script is executed on every client , I don't have this problem. You can try to do this via scripts since it works for me, but don't take my explanation seriously! I am quite a noob when it comes to scripting, especially for MP compatibility issues!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×