Theres no event for that clientsided so use triggerClientEvent...
Something like this:
--Server
addEventHandler("onPlayerLogin", root,
function ()
triggerClientEvent(source, "onClientPlayerLogin", root)
end
)
--Client
addEvent("onClientPlayerLogin", true)
addEventHandler("onClientPlayerLogin", root,
function ()
removeEventHandler("onClientRender", root, showRules)
end
)
Should work