becomevip.inc
Original include source with line numbers.
| 1 | #if defined _becomevip_included |
| 2 | #endinput |
| 3 | #endif |
| 4 | |
| 5 | #define _becomevip_included |
| 6 | |
| 7 | /** |
| 8 | * Checks whether a players has unlocked the VIP Plus option. |
| 9 | * |
| 10 | * @param id Player's index. |
| 11 | * @return True if he has, 0 if he hasn't. |
| 12 | */ |
| 13 | native bool:IsUserVip(id) |
| 14 | |
| 15 | /** |
| 16 | * Gets number of kills needed to get VIP extras. |
| 17 | * |
| 18 | * @return Number of kills needed to get VIP extras. |
| 19 | */ |
| 20 | native GetKillsNeeded() |
| 21 | |
| 22 | /** |
| 23 | * Gets the number of player's kills. |
| 24 | * |
| 25 | * @param id Player's index. |
| 26 | * @return Number of player's kills. |
| 27 | */ |
| 28 | native GetUserKills(id) |
| 29 | |
| 30 | /** |
| 31 | * Gets the number of player's kills left. |
| 32 | * |
| 33 | * @param id Player's index. |
| 34 | * @return Number of player's kills left. |
| 35 | */ |
| 36 | native GetKillsLeft(id) |
| 37 | |
| 38 | /** |
| 39 | * Gets the plugin prefix. |
| 40 | * |
| 41 | * @param szPrefix Buffer to store the prefix. |
| 42 | * @param iPrefixLen Prefix's buffer length. |
| 43 | * @noreturn |
| 44 | */ |
| 45 | native GetVipPrefix(szPrefix[], iPrefixLen) |
| 46 | |
| 47 | /** |
| 48 | * Gets the VIP flags that players will receive. |
| 49 | * |
| 50 | * @param szFlags Buffer to store the flags. |
| 51 | * @param iFlagsLen Flags' buffer length. |
| 52 | * @noreturn |
| 53 | */ |
| 54 | native GetVipFlags(szFlags[], iFlagsLen) |
| 55 | |
| 56 | /** |
| 57 | * Checks whether the plugin is using CSStats. |
| 58 | * |
| 59 | * @return True if it is, 0 if it isn't. |
| 60 | */ |
| 61 | native bool:UsingCsstats() |
| 62 | |
| 63 | /** |
| 64 | * Checks whether the plugin is using HUD message. |
| 65 | * |
| 66 | * @return True if it is, 0 if it isn't. |
| 67 | */ |
| 68 | native bool:UsingHud() |
| 69 | |
| 70 | /** |
| 71 | * Checks whether the plugin is using Steam. |
| 72 | * |
| 73 | * @return True if it is, 0 if it isn't. |
| 74 | */ |
| 75 | native bool:UsingSteam() |
| 76 | |
| 77 | /** |
| 78 | * Checks whether the plugin is using Quick Save. |
| 79 | * |
| 80 | * @return True if it is, 0 if it isn't. |
| 81 | */ |
| 82 | native bool:UsingQuickSave() |