custom_player_models.inc
Original include source with line numbers.
| 1 | #if defined _custom_player_models_included |
| 2 | #endinput |
| 3 | #endif |
| 4 | |
| 5 | #define _custom_player_models_included |
| 6 | |
| 7 | #define CPM_MAX_KEY_LENGTH 32 |
| 8 | #define CPM_MAX_MODEL_LENGTH 64 |
| 9 | |
| 10 | forward custom_player_models_init(); |
| 11 | |
| 12 | native bool:custom_player_models_register(const key[], const model_tt[], const body_tt, const model_ct[], const body_ct); |
| 13 | native bool:custom_player_models_has(const player, key[] = "", length = 0); |
| 14 | native bool:custom_player_models_set(const player, const key[]); |
| 15 | native bool:custom_player_models_set_body(const player, const any:team, const body); |
| 16 | native bool:custom_player_models_get_body(const player, const any:team, &body); |
| 17 | native bool:custom_player_models_reset(const player); |
| 18 | native bool:custom_player_models_enable(const player, const bool:value); |
| 19 | native bool:custom_player_models_is_enable(const player); |
| 20 | |