View Single Post
WhatsAnName
Member
Join Date: Jun 2018
Old 02-28-2021 , 08:45   Re: Charger Shove [L4D2]
Reply With Quote #3

Quote:
Originally Posted by Ernecio View Post
The Cvar is good, but my little tip is that you do something like this

PHP Code:
#pragma semicolon 1
#pragma newdecls required

#include <sourcemod> 
#include <sdktools> 

public Plugin myinfo =
{
    
name "Shoveable charger",
    
author "WhatsAnName",
    
description "simply allows charger to be shoved.",
    
version "1.0",
    
url ""
};

public 
void OnPluginStart()
{
    
FindConVar"z_charger_allow_shove" ).SetInt);

u could compile it that way and post it here for anyone who find a issue with mine and use this code instead if u like.
WhatsAnName is offline