I'm trying to make a resource that obtain the name of a player like this line:
local who = getPlayerName(playerSource), playerSource(who)
but i got this
GetPlayerName [expected element at argument 1, got nil]
lua:13: attempt to call global 'playerSource' (a nil value)
I need help :'c
the script is of the type server