credits_subtract_user_credits
Subtracts an amount to a users credits.
Syntax
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.. * * @param id Player index. */ native credits_show_unlocksmenu(id) /** * Opens the guns menu for the player specified.. * * @param id Player index.
Usage
| id | Player index. |
| credits | Subtracts this amount from current credits. |
Return
Returns — current credits
Defined in
credits.inc
at line 52
.
This documentation was automatically generated from source.