In file useracc.h:

void usr_chargecredits

(int amount)

Charge a user's account.

Documentation

Charge a user's account.

Debits (i.e removes) the specified amount of credits from this user's account. There is purposefully no functionality to debit other users' accounts. You can use usr_canpay() to determine if the user has enough credits to cover the amount.

Parameters:
amount - The amount of credits to debit to the current user.
See Also:
usr_postcredits(), usr_canpay().

Alphabetic index



This page was generated with the help of DOC++.