fix this shit

This commit is contained in:
DoganGFL 2018-11-14 16:32:14 +01:00
parent 8955b2acd8
commit 092d3c1aa8

View File

@ -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));