How to make a dynamic light visible to a specific player?

Like the title says, how would I make a dynamic light visible to a specific player? (Preferably only visible to a player using a swep)

Dynamic Lights created with Lua are clientside so only call it on the client you want to see it

May I have an example of how to do this?

Can anyone give me an example please?

Just call DynamicLight on the client only.