Hello,
It seems that there is a bug with event parameters becoming nil when sent to a client.
Client : Production & canary
Server : 4980
2372
Here is a way to reproduce it :
Client side code :
RegisterNetEvent('test')
AddEventHandler('test', function(one, two, three, four, five, six, seven, eight)
print(one, two, three, four, five, six, seven, eight)
end)
Server side code :
TriggerClientEvent('test', 1, 'one', 'two', 'three', nil, 'bubble', nil, nil, nil)
I would expect to see
one two three nil bubble nil nil nil
But instead I get
It looks like it happens only with those specific parameters. For exemple, if you remove the last nil at the end, it works as expected :
TriggerClientEvent('test', 1, 'one', 'two', 'three', nil, 'bubble', nil, nil)
Thank you