I'm not sure.
pps:AwardPoints(g.userId, 1)
That is where you put the Number of awarded Player points. So if you were awarding 50:
pps:AwardPoints(g.userId, 50)