From 092d3c1aa8424e272161853c0647b1b07ec9ed76 Mon Sep 17 00:00:00 2001 From: DoganGFL Date: Wed, 14 Nov 2018 16:32:14 +0100 Subject: [PATCH] fix this shit --- Leader2/scripting/Leader2.sp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Leader2/scripting/Leader2.sp b/Leader2/scripting/Leader2.sp index 86a4011a..cce38505 100644 --- a/Leader2/scripting/Leader2.sp +++ b/Leader2/scripting/Leader2.sp @@ -69,10 +69,10 @@ public void OnPluginStart() RegAdminCmd("sm_removeleader", RemoveTheLeader, ADMFLAG_GENERIC); RegAdminCmd("sm_reloadleaders", ReloadLeaders, ADMFLAG_GENERIC); - g_cVDefendVMT = CreateConVar("sm_leader_defend_vmt", "materials/sg/sgdefend.vmt", "The defend here .vmt file"); - g_cVDefendVTF = CreateConVar("sm_leader_defend_vtf", "materials/sg/sgdefend.vtf", "The defend here .vtf file"); - g_cVFollowVMT = CreateConVar("sm_leader_follow_vmt", "materials/sg/sgfollow.vmt", "The follow me .vmt file"); - g_cVFollowVTF = CreateConVar("sm_leader_follow_vtf", "materials/sg/sgfollow.vtf", "The follow me .vtf file"); + g_cVDefendVMT = CreateConVar("sm_leader_defend_vmt", "materials/nide/defend.vmt", "The defend here .vmt file"); + g_cVDefendVTF = CreateConVar("sm_leader_defend_vtf", "materials/nide/defend.vtf", "The defend here .vtf file"); + g_cVFollowVMT = CreateConVar("sm_leader_follow_vmt", "materials/nide/follow.vmt", "The follow me .vmt file"); + g_cVFollowVTF = CreateConVar("sm_leader_follow_vtf", "materials/nide/follow.vtf", "The follow me .vtf file"); g_cVAllowVoting = CreateConVar("sm_leader_allow_votes", "1", "Determines whether players can vote for leaders."); g_cVDefendVMT.AddChangeHook(ConVarChange); @@ -81,7 +81,7 @@ public void OnPluginStart() g_cVFollowVTF.AddChangeHook(ConVarChange); g_cVAllowVoting.AddChangeHook(ConVarChange); - AutoExecConfig(true, "leader"); + AutoExecConfig(true, "plugin.Leader2"); g_cVDefendVTF.GetString(DefendVTF, sizeof(DefendVTF)); g_cVDefendVMT.GetString(DefendVMT, sizeof(DefendVMT));