Problem with calling function on NetworkPlayer from Client(Mirror)

Hey All! looking for some help.

I am trying to implement a feature that whenever a player vehicle dies, it calls a function on the networkplayer script that reduces the lives. The vehicle with the script that calls the function is not a child of the networkplayer, but has the same identity and such. The problem however, is that it only works on the host, and it doesnt work on the client. I think it has to do with server callbacks and stuff, but I wasnt the one who set those up initially on these functions so idk which one is for what reason. Any help would be awesome!

Heres the code on the vehicle, and a projectile code that calls the initial function on the vehicle

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms