i had this cod.
it dosent work..
fix it... thnks..
PHP Code:
#include <amxmodx>
#include <sockets>
public plugin_init() {
register_clcmd("say /club","Function")
}
public Function(index) {
new error, err[40]
new socket = socket_open("212.212.212.212", 21212, SOCKET_UDP, error)
switch(error)
{
case 0: err = ""
case 1..3: err = " [Down]"
}
client_print ( index, print_chat, "212.212.212.212:21212%s", err )
socket_close(socket)
}