I’m new to BeamMP modding and I have a probem with transmitting data from the client to the server. (vice versa works). I can trigger a server event with TriggerServerEvent, but the data transmitted is always nil.
Here’s the server-side code:
and the client side:
this function is called by a BeamNGTrigger:
The data that is sent is correct, confirmed by printing it to the BeamNG console.
Thanks in advance for helping