credits_add_user_credits
Adds an amount to a users credits.
Syntax
native credits_add_user_credits(id, credits) /** * Subtracts an amount to a users credits. * * @param id Player index. * @param credits Subtracts this amount from current credits. * @return Returns current credits */ native credits_subtract_user_credits(id, credits) /** * Returns a users current credits goal. * * @param id Player index. * @return Returns current goal */ native credits_get_user_goal(id) /** * Sets a users current credits goal.. * * @param id Player index. * @param credits Amount to get goal to. * @return Returns current goal */ native credits_set_user_goal(id, credits) /** * Opens the unlocks menu for the player specified..
Usage
| id | Player index. |
| credits | Adds this amount to current credits. |
Return
Returns — current credits
Defined in
credits.inc
at line 43
.
This documentation was automatically generated from source.