solved
not read socket when I opened it in plugin_cfg()
I moved to the plugin_init() and works
I have the next problem, code:
PHP Code:
public Message(id) {
new reason[64], sData[256];
read_args(reason, 63);
remove_quotes(reason);
trim(reason);
ucfirst(reason);
formatex(sData, 255, "GET /%s?name=%s&authid=%s&ip=%s&server=%s&reason=%s HTTP/1.1^nHost:%s^r^n^r^n", \
FILE, nick[id], sid[id], ip[id], Server, reason, HOST);
socket_send(socket, sData, strlen(sData));
}
I have this function under the command /send, I type a reason, but that reason does not send