Voting sistem?

Hello, Does anyone knows how To make a voting system for maps? i tried to send the votes to the game state, For server it sycs great, but for clients dont work. what am i doing wrong, does anyonw knows what to do?

Thansk!! :smiley:

You need to forward the state from the gamestate back to each player controller for them to all see it.
Typically, you’ll build it like:

  • local PlayerController has local Widget with vote options
  • when player votes, send vote to server PlayerController
  • server PlayerController updates the server GameState
  • server GameState should mark votes as RepNotify
  • when client GameState receives the notify, find and update the local client PlayerControllers
  • when local PlayerControllers get notified, update the Widget display

Ok i will try it

Thank you sooooo much :smiley:

Voting to kick players hahah.

huh?
I dont understand what do you mean .-.

1 Like

Back in the day man, you don’t see it much anymore, but if you were on a server somewhere and many thought someone was hacking, there could be a vote kick initiated, and if enough voted yes, that player by name would be kicked. A small piece of democracy that is real and perhaps poetic justice to those that flaunt hacks with 70 -0 K/D in a shooter. “but but but…its not hacks!!” yeah…that would be the equivalent of going to a golf course and someone getting a hole in one every single hour, all day long, everytime you came.

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