Raised This Month: $51 Target: $400
 12% 

Bind


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HoussamBenmouna
Member
Join Date: Jun 2017
Location: Morocco
Old 06-21-2017 , 16:59   Bind
Reply With Quote #1

Hello Guys, I'm looking for a new code, which can to set the cmd for terrorist players, but opposite to this, below:

Can Use Only With R Button

PHP Code:
#include <amxmodx>
#include <cstrike>

public plugin_init() {}

public 
client_putinserver(id)
{
    if(
cs_get_user_team(id) == CS_TEAM_T)
    {
        
client_cmd(id,"bind r ^"nothing^"")
    }

if anyone could help me I will be glad
__________________
Working on Hulk's Mode (10%)

Last edited by HoussamBenmouna; 06-21-2017 at 17:03.
HoussamBenmouna is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 06-21-2017 , 17:03   Re: Bind
Reply With Quote #2

That's slow hacking.

But what do you want to do?
__________________
gabuch2 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-21-2017 , 17:04   Re: Bind
Reply With Quote #3

use +reload instead of r.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
HoussamBenmouna
Member
Join Date: Jun 2017
Location: Morocco
Old 06-21-2017 , 17:05   Re: Bind
Reply With Quote #4

I do not know how, but can you create it?
__________________
Working on Hulk's Mode (10%)
HoussamBenmouna is offline
HoussamBenmouna
Member
Join Date: Jun 2017
Location: Morocco
Old 06-21-2017 , 17:06   Re: Bind
Reply With Quote #5

@Gabe Iggy, I want when the terrorist player click on button ''R'' He will get the speed in 3,50 seconds but it will not starting before he walk, using what EFFx is talking about +reload = r, and if 3,50 spend he must wait 19 seconds before...
__________________
Working on Hulk's Mode (10%)

Last edited by HoussamBenmouna; 06-21-2017 at 17:09.
HoussamBenmouna is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 06-21-2017 , 17:12   Re: Bind
Reply With Quote #6

Exactly, create commands on +reload, (and -reload, when the player releases the reload key) and put your code there.
__________________
gabuch2 is offline
HoussamBenmouna
Member
Join Date: Jun 2017
Location: Morocco
Old 06-21-2017 , 17:13   Re: Bind
Reply With Quote #7

Can you create it, because I do not know how? :/
__________________
Working on Hulk's Mode (10%)
HoussamBenmouna is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 06-21-2017 , 17:16   Re: Bind
Reply With Quote #8

Code:
#include <amxmodx> #include <cstrike> public plugin_init() {     register_clcmd("+reload", "reloadOn")     register_clcmd("-reload", "reloadOff") } public reloadOn(id) {     if(cs_get_user_team(id) == CS_TEAM_T)     {         //terrorist pressed reload key     } }  public reloadOff(id) {     if(cs_get_user_team(id) == CS_TEAM_T)     {         //terrorist released the reload key     } }

untested
__________________
gabuch2 is offline
HoussamBenmouna
Member
Join Date: Jun 2017
Location: Morocco
Old 06-21-2017 , 17:17   Re: Bind
Reply With Quote #9

But, I want to do that auto for terrorist not, after use the bind in console
__________________
Working on Hulk's Mode (10%)

Last edited by HoussamBenmouna; 06-21-2017 at 17:19.
HoussamBenmouna is offline
HoussamBenmouna
Member
Join Date: Jun 2017
Location: Morocco
Old 06-21-2017 , 17:27   Re: Bind
Reply With Quote #10

and for steam . un steam
__________________
Working on Hulk's Mode (10%)
HoussamBenmouna is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:26.


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