Client Version: Canary
Server Version: 4162
Category of bug: Client & Server
Behaviour: When triggering any event, if 2 previous event arguments were nil next arguments will be nil regardless of their content passed in a script
What i expected to happen: To have all my arguments passed
Code for reproduction:
AddEventHandler('argumentsTest', function(arg1, arg2, arg3, arg4)
print(arg1, arg2, arg3, arg4)
-- expected output: 1, nil, nil, 4
-- output: 1, nil, nil, nil
end)
TriggerEvent('argumentsTest', 1, nil, nil, 4)
The bug appears in all type of events: client, server and between them.