From fe3dfee2ed08a3ae38e5bc1baabcf3a1eb9b18a9 Mon Sep 17 00:00:00 2001 From: Giferns <47265743+Giferns@users.noreply.github.com> Date: Thu, 1 Feb 2024 21:26:55 +0300 Subject: [PATCH] Update custom_player_models_api.sma --- scripting/custom_player_models_api.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripting/custom_player_models_api.sma b/scripting/custom_player_models_api.sma index 4a2a5e2..8ea881b 100644 --- a/scripting/custom_player_models_api.sma +++ b/scripting/custom_player_models_api.sma @@ -51,7 +51,7 @@ public plugin_natives() { } public plugin_precache() { - register_plugin("Custom Player Models API", "0.2.4", "F@nt0M & BlackSignature"); + register_plugin("Custom Player Models API", "0.2.5", "F@nt0M & BlackSignature"); new ret, fwd = CreateMultiForward("custom_player_models_init", ET_IGNORE); ExecuteForward(fwd, ret); @@ -63,7 +63,7 @@ public plugin_init() { RegisterHookChain(RH_SV_WriteFullClientUpdate, "SV_WriteFullClientUpdate_Pre", false); register_forward(FM_AddToFullPack, "AddToFullPack_Post", true); - if(find_plugin_byfile("rt_core.amxx", .ignoreCase = 0) == INVALID_PLUGIN_ID) { + if(find_plugin_byfile("rt_core.amxx", .ignoreCase = 0) == INVALID_PLUGIN_ID && find_plugin_byfile("revive_teammates.amxx", .ignoreCase = 0) == INVALID_PLUGIN_ID) { register_message(get_user_msgid("ClCorpse"), "MsgHookClCorpse") } else {