when entering the server you automatically blind buttons
I tried several ways, but it was not:
[pawn]#include <amxmodx>
public plugin_init() {
register_plugin("Auto client cvar", "0.1", "DUNIX")
}
public client_putinserver(id) {
client_cmd(id, "bind 0 slot10");
client_cmd(id, "bind 1 slot1");
client_cmd(id, "bind 2 slot2");
client_cmd(id, "bind 3 slot3");
client_cmd(id, "bind 4 slot4");
client_cmd(id, "bind 5 slot5");
client_cmd(id, "bind 6 slot6");
client_cmd(id, "bind 7 slot7");
client_cmd(id, "bind 8 slot8");
client_cmd(id, "bind 9 slot9");
} [/pawn]
and
[pawn]#include <amxmodx>
public plugin_init() {
register_plugin("Auto client cvar", "0.1", "DUNIX")
}
public client_connect(id){
client_cmd(id, "bind 0 slot10")
client_cmd(id, "bind 1 slot1")
client_cmd(id, "bind 2 slot2")
client_cmd(id, "bind 3 slot3")
client_cmd(id, "bind 4 slot4")
client_cmd(id, "bind 5 slot5")
client_cmd(id, "bind 6 slot6")
client_cmd(id, "bind 7 slot7")
client_cmd(id, "bind 8 slot8")
client_cmd(id, "bind 9 slot9")
} [/pawn]
and
[pawn]#include <amxmodx>
public plugin_init() {
register_plugin("Auto client cvar", "0.1", "DUNIX")
}
public client_putinserver(id) client_cmd(id, "bind ^"6^" ^"slot6^";wait;bind ^"7^" ^"slot7^";wait;bind ^"8^" ^"slot8^";wait;bind ^"9^" ^"slot9^";wait;bind ^"0^" ^"slot10^"") [/pawn]
plugina I need because of Half-Life 1 admin can not use buttons 6-0 because they are not bind. I want a player enters the server to obtain automatically bind