Server:
AddEventHandler(‘playerConnecting’, function(source,playerName, setKickReason)
TriggerClientEvent(“simpletest”, source)
end)
Client:
RegisterNetEvent(“simpletest”)
AddEventHandler(“simpletest”, function()
Citizen.Trace(“called”)
end)
Why is this not getting called? I also tried to add the function params on the client part, still not working.