cshop_give_points
Give/take points to/from a player.
Syntax
native cshop_give_points(id, points) #define cshopGivePoints cshop_give_points /** * Return player points. * * @param id Player's index. * @return Player's points. */ native cshop_get_points(id) #define cshopGetPoints cshop_get_points /** * Gets the plugin prefix. * * @param prefix Buffer. * @param len Max buffer length. * @noreturn */ native cshop_get_prefix(prefix[], len) /** * Tries to open the shop menu. * * @param id Player's id. * @noreturn */ native cshop_open(id) /**
Usage
| id | Player's index. |
| points | Amount of points. |
Return
This function has no return value.
Defined in
customshop.inc
at line 156
.
This documentation was automatically generated from source.