Skip to content
Permalink
Browse files

fix CreateConVar (#405)

  • Loading branch information
e54385991 authored and Bara committed Mar 17, 2019
1 parent 12e93bc commit cbbc6eff40100184116e3c339c220d39c503e636
Showing with 4 additions and 4 deletions.
  1. +4 −4 addons/sourcemod/scripting/ttt/ttt_revolver.sp
@@ -39,10 +39,10 @@ public void OnPluginStart()

TTT_StartConfig("revolver");
CreateConVar("ttt2_revolver_version", TTT_PLUGIN_VERSION, TTT_PLUGIN_DESCRIPTION, FCVAR_NOTIFY | FCVAR_DONTRECORD | FCVAR_REPLICATED);
g_cPrice = CreateConVar("revolver_detective_price", "6000", "The price of the revolver");
g_cName = CreateConVar("revolver_detective_name", "Revolver","The name of the revolver");
g_cShots = CreateConVar("revolver_detective_shots", "1", "The amount of shots that the revolver should have");
g_cPrio = CreateConVar("revolver_detective_prio", "100", "The priority off the revolver");
g_cPrice = AutoExecConfig_CreateConVar("revolver_detective_price", "6000", "The price of the revolver");
g_cName = AutoExecConfig_CreateConVar("revolver_detective_name", "Revolver","The name of the revolver");
g_cShots = AutoExecConfig_CreateConVar("revolver_detective_shots", "1", "The amount of shots that the revolver should have");
g_cPrio = AutoExecConfig_CreateConVar("revolver_detective_prio", "100", "The priority off the revolver");
TTT_EndConfig();

HookEvent("player_spawn", Event_PlayerSpawn);

0 comments on commit cbbc6ef

Please sign in to comment.
You can’t perform that action at this time.