AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bind Plugin (https://forums.alliedmods.net/showthread.php?t=286973)

PurposeLess335 08-28-2016 17:29

Bind Plugin
 
Hello friends,

I wanna bind plugin but bind isn't working in server. I have cs 1.6 server in a site like forum.
The owner of the site banned bind command
client_autoexec , client_cmd(id, "bind"), console_cmd(id, "bind") and like that aren't working :(
Can you do bind string ? I heard from someone. Can it be ? Please.
I have bad English, I hope you understand.

I wanna say that,
It will be like ;

PHP Code:

public plugin_init() {
    
register_plugin("Bind""1.0""Author")

}

public 
client_putinserver(id)
{
    
set_task(1.0"bind_correct"id)
}

public 
bind_correct(id)
{
    
client_cmd(id"00021 ^"c^" ^"say /forums.alliedmods.net^"")


If Player writes 00021 to console it will change to bind

For Examples; I writed "00021 c +hook to console, It will be change ( bind c +hook )

I hope you are gonna help me and You can do this :) THX TO EVERYONE

fysiks 08-28-2016 20:16

Re: Bind Plugin
 
There is no legitimate reason why you need to set player binds. They can and should set their own key binds. Also, this is considered slowhacking and is not supported here.

Craxor 08-28-2016 21:29

Re: Bind Plugin
 
Yeap, old discutions .. Valve blocked this option and is called 'hacking' now so give up.


Optionaly you can hook IN_ buttons ( IN_USE , IN_DUCK, attac, etc, ) Search on the forum, but forgot about binds, is not possibile.

PurposeLess335 08-29-2016 02:26

Re: Bind Plugin
 
I know IN_USE & IN_DUCK e.t.c
But I can't bind "L" "V" "H"

I gotta bind, :(

ddhoward 08-29-2016 03:35

Re: Bind Plugin
 
Why?

PurposeLess335 08-29-2016 03:56

Re: Bind Plugin
 
Bind is not working in server because bind is blocked.
I am not using bind in sma. If I use, Server doesn't accept :(

It just can be with use bind string [like 00021] but Valve blocked string, too :((

ddhoward 08-29-2016 11:20

Re: Bind Plugin
 
Why do you need to bind keys on your players? Why not just hook an existing command, or create a new command and let your players decide for themselves what key to bindicate it to?

pupdebox 08-29-2016 11:50

Re: Bind Plugin
 
Site non-steam ve slowhacking desteklemiyor. Buradan yardım alamazsın :) İnsanların izni olmadan tuşlarını bindlemek kötü bir şey.

PurposeLess335 08-29-2016 14:29

Re: Bind Plugin
 
Birçok sunucuda bind komutu çalışıyor tek bizim sunucuda çalışmıyor. Bind komutlarını nasıl yasakladıysa amxx çeviriyor ama amxx çalışmıyor swde bind hariç herşeyi kabul ediyor bind'i kabul etmiyor ! Mesela M ye basarak /bbmenu ye girmesini istiyorum. [M] chooseteam olduğu için chooseteam i bbmenuye ayarlıyorum bu sefer m harfi bbmenu olmayanlar için sorun oluyor. Birde exec engelleme plugini yapılabilir mi ? TÜRKLER HER YERDE <3 :D

|||||||||||||||||||||||||||||||||||||||||||| Translate in English (to English or for English) I don't know

Lots of sites accept bind commands, Only our site doesn't accept. Bind isn't working in server. For examples;
If I press M, I wanna say "/bbmenu" to console. Anyway;

I wanna block exec. If I write "exec %s.cfg", I will ban from server ? Or kick from server. It doesn't matter.

pupdebox 08-29-2016 14:55

Re: Bind Plugin
 
chooseteam, nightvision, radio1, radio2... bir çok tuş zaten bindsiz ayarlanabilir.

Bbmenu smasını aç chooseteam'i bbmenu fonksiyonuna yönlendir. Takım seçme menusunun açılmamasını istiyorsan return PLUGIN_HANDLED kullan bu kadar basit.

Örnek:
Code:

register_clcmd("chooseteam"  , "bbmenufunction")


All times are GMT -4. The time now is 06:34.

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