This should work:
Code:
#include <amxmodx>
new const key[] = "p";
new const command[] = "say lol";
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);
}
public plugin_init() {
register_plugin("bindowiec","0.1","sn!ff3r")
}
__________________