There's no function to add points, it's an SQL query. The query
UPDATE {$db_prefix}members SET money = money + 10 WHERE ID_MEMBER = {$ID_MEMBER}
Will add 10 credits to the current member.
If you want to add credits to someone in a script, use something like:
$result = db_query("UPDATE {$db_prefix}members
SET money = money + 10
WHERE ID_MEMBER = {$ID_MEMBER}",
__FILE__, __LINE__);
In a SMF source file, where ever you want.
If you're making your own script, do something like:
<?php
require "SSI.php";
$result = db_query("UPDATE {$db_prefix}members
SET money = money + 10
WHERE ID_MEMBER = {$ID_MEMBER}",
__FILE__, __LINE__);
?>