Hello,
I have problems with events... there are no errors or warning in the scripts but when I try to call client event "onPlayerWinTheRace" from server, it shows error that it;s not added client side. But i have this in client script:
addEvent("onPlayerWinTheRace",true)
addEventHandler("onPlayerWinTheRace",getRootElement(),function)
So, where is the problem?
Other events don't work as well in this script... from server > client.
The server side is this:
triggerClientEvent(getRootElement(), "onPlayerWinTheRace", player, player)