Hello,
since we are in the Ulysses forums, I assume you want an ULX command rather than an actual concommand..right?
function ulx.givepoints( calling_ply, target_ply, points )
target_ply:PS_GivePoints(points)
ulx.fancyLogAdmin( calling_ply, "#A gave #i points to #T", points, target_ply )
end
local givepoints = ulx.command( "Utility", "ulx givepoints", ulx.givepoints, "!givepoints" )
givepoints:defaultAccess( ULib.ACCESS_ADMIN )
givepoints:addParam{ type=ULib.cmds.PlayerArg }
givepoints:addParam{ type=ULib.cmds.NumArg, min=1, max=10000, default=100, hint="points", ULib.cmds.optional, ULib.cmds.round }
givepoints:help( "Give points for PS to players" )
Also, pointshop already comes with an admin panel to give out points to players.