AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved L4D2 - bind adrenaline effect (https://forums.alliedmods.net/showthread.php?t=334695)

gamer_kanelita 10-13-2021 22:48

L4D2 - bind adrenaline effect
 
I have seen this page that supposedly can be linked to have the effect of adrenaline by means of a button, I tried to turn it into smx, then in the game on the console put the command but so far it does not work for me or I will be wrong, someone knows how do the smx and with what command to put in the console to make it work? :llorar::llorar::llorar:

https://forums.alliedmods.net/showth...=333058&page=3

Marttt 10-13-2021 23:02

Re: L4D2 - bind adrenaline effect
 
use left4dhooks to call the adrenaline effect.

there are plenty of plugins shared using left4dhooks by now to take as basis.

https://forums.alliedmods.net/showpo...63&postcount=2

gamer_kanelita 10-13-2021 23:39

Re: L4D2 - bind adrenaline effect
 
Forgive me for being ignorant about these things but I don't use left4dhooks at all so I ask for help so that someone could do it for me, maybe for you it should be easy but not for me, at least in this case if you could help me I would appreciate it very much teacher :llorar::llorar:

HarryPotter 10-14-2021 00:12

Re: L4D2 - bind adrenaline effect
 
Quote:

Originally Posted by gamer_kanelita (Post 2760537)
Forgive me for being ignorant about these things but I don't use left4dhooks at all so I ask for help so that someone could do it for me, maybe for you it should be easy but not for me, at least in this case if you could help me I would appreciate it very much teacher :llorar::llorar:

you don't install left4dhooks? why? you still use old left 4 downtown?

gamer_kanelita 10-14-2021 01:04

Re: L4D2 - bind adrenaline effect
 
It is not that, I have the last update of left4dhooks, what happens is that I do not create codes and with that compile to smx file so I need someone to help with that since I am ignorant in those things :llorar::llorar:

Marttt 10-14-2021 11:33

Re: L4D2 - bind adrenaline effect
 
Better learn than depending on others, there are a lot of guides nowadays.

gamer_kanelita 10-14-2021 12:55

Re: L4D2 - bind adrenaline effect
 
Look for example, here I will leave you the smx file that could be compiled, but when I'm in the game I don't know what command to put on the console to make it work :llorar::llorar::llorar:

gamer_kanelita 10-14-2021 17:05

Re: L4D2 - bind adrenaline effect
 
Ah, the only thing I want to know is what command to put in the console to be able to directly bind the effect of adrenaline. I have tried in many ways but it does not work for me.p

Silvers 10-15-2021 04:18

Re: L4D2 - bind adrenaline effect
 
Quote:

Originally Posted by gamer_kanelita (Post 2760585)
Look for example, here I will leave you the smx file that could be compiled, but when I'm in the game I don't know what command to put on the console to make it work :llorar::llorar::llorar:

You must upload the source when you provide a compiled binary.

weffer 10-15-2021 10:12

Re: L4D2 - bind adrenaline effect
 
Quote:

Originally Posted by gamer_kanelita (Post 2760603)
Ah, the only thing I want to know is what command to put in the console to be able to directly bind the effect of adrenaline. I have tried in many ways but it does not work for me.p

try using this code and the command is sm_adre in console or !adre in chat

PHP Code:

#pragma semicolon 1
#include <sourcemod>
#include <left4dhooks>

public Plugin myinfo =
{
    
name "",
    
author "",
    
description "",
    
version "1.0",
    
url ""
};

public 
void OnPluginStart()
{
    
RegAdminCmd("sm_adre"Command_AdreADMFLAG_CHEATS"sm_adre");
    
}

public 
Action Command_Adre(int clientint args)
{
    if (!
client)
        return 
Plugin_Handled;    
    
    
L4D2_UseAdrenaline(client); 
    
    return 
Plugin_Handled;




All times are GMT -4. The time now is 03:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.