cs_player_models_api.inc
Original include source with line numbers.
| 1 | #if defined _cs_player_models_api_included |
| 2 | #endinput |
| 3 | #endif |
| 4 | #define _cs_player_models_api_included |
| 5 | |
| 6 | #if AMXX_VERSION_NUM >= 175 |
| 7 | #pragma reqlib cs_player_models_api |
| 8 | #if !defined AMXMODX_NOAUTOLOAD |
| 9 | #pragma loadlib cs_player_models_api |
| 10 | #endif |
| 11 | #else |
| 12 | #pragma library cs_player_models_api |
| 13 | #endif |
| 14 | |
| 15 | /** |
| 16 | * Sets a custom player model. |
| 17 | * |
| 18 | * @param id Player index. |
| 19 | * @param model Custom model's short name. |
| 20 | */ |
| 21 | native cs_set_player_model(id, const model[]) |
| 22 | |
| 23 | /** |
| 24 | * Restores CS default model for player. |
| 25 | * |
| 26 | * @param id Player index. |
| 27 | */ |
| 28 | native cs_reset_player_model(id) |
| 29 | |