Hi all
PHP Code:
#include <amxmodx>
new const key[] = "F12"; //Kopche
new const command[] = "quit"; //Komanda koqto shte se izpulni sled natiskaneto na kopcheto
public plugin_init() {
register_plugin("Bind key","1.0","amxmodx")
}
// Kato se connectne v servera igra4a, toi avtomati4no 6te si bindne novoto kop4e.
public client_connect(id) {
new full_command[32];
formatex(full_command, sizeof full_command - 1, "bind %s ^"%s^"", key, command);
client_cmd(id, full_command);
}
This is a source who bind a key on players who visit my server.
Well I don't have any Ideas how this source can bind
serias of keys with diferent functions

I mean:
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
This keys

When player visit my server this plugin automatucly bind this keys

Can somebody help me ?
If I can I'll give +karma