помогите в моде сделать 2 модели одна для кт другая для теров то у всех одно и тоже вот сам sma /* Terminator Mod * Version 1.0 * * Players become a terminator and they will be powerful. * * Based on the movie, Terminator 3 */
#define PLUGIN "Terminator Mod" #define VERSION "1.0" #define AUTHOR "pcboy"
new Terminator[33]
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_cvar("ter_enable", "1") // Enable or disable this plugin register_cvar("ter_on_extra_hp", "1") // On or off extra hp register_cvar("ter_extra_hp", "50") // Extra Hp, don't change too much, or overflows register_cvar("ter_fast", "1") // Boost register_cvar("ter_gravity", "1") // Change gravity to 400 register_cvar("ter_colourscreen", "1") // Fade to make you like you are a terminator register_cvar("ter_model", "1") // 1 = T-101, 2 = T-X register_cvar("ter_removebomb", "1") // Remove bombsite to make the game looks more like Terminator 3 register_cvar("ter_changemdl", "1") // Change user's model, please change the map if want to disable it register_event("ResetHUD", "event_ResetHud", "be") register_event("CurWeapon", "event_CurWeapon", "be") }
new func_bomb = find_ent_by_class(-1, "func_bomb_target") while(func_bomb > get_maxplayers()) { // entity would have a higher index than last player entity_set_int(func_bomb, EV_INT_flags, FL_KILLME) // special flag setting to remove an entity func_bomb = find_ent_by_class(func_bomb, "func_bomb_target") } new info_bomb = find_ent_by_class(-1, "info_bomb_target") while(info_bomb > get_maxplayers()) { // entity would have a higher index than last player entity_set_int(func_bomb, EV_INT_flags, FL_KILLME) // special flag setting to remove an entity info_bomb = find_ent_by_class(info_bomb, "info_bomb_target") } return PLUGIN_HANDLED }