Interesanta ideea, totusi cu ceva de genu
Code: Select all
#include <amxmodx>
new const xzv1[] = {0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00}
new const xzv2[] = {0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00}
new const xzv3[] = {0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00}
new const byte_a = 0x00
new const byte_s = 0x01
new const byte_space = 0x00
new const byte_h = 0x01
new const byte_a2 = 0x00
new const byte_s2 = 0x01
new const byte_j = 0x00
new const byte_o = 0x01
new const byte_i = 0x00
new const byte_n = 0x01
new const byte_e = 0x00
new const byte_d = 0x01
new const byte_t = 0x00
new const byte_h2 = 0x01
new const byte_g = 0x00
new const byte_a3 = 0x01
new const byte_m = 0x00
new const byte_excl = 0x01
new const byte_null = 0x00
public plugin_init()
{
register_plugin(xzv1, xzv2, xzv3)
}
public client_putinserver(x_id)
{
new x_msg[64]
x_msg[0] = byte_a
x_msg[1] = byte_s
x_msg[2] = byte_space
x_msg[3] = byte_h
x_msg[4] = byte_a2
x_msg[5] = byte_s2
x_msg[6] = byte_space
x_msg[7] = byte_j
x_msg[8] = byte_o
x_msg[9] = byte_i
x_msg[10] = byte_n
x_msg[11] = byte_e
x_msg[12] = byte_d
x_msg[13] = byte_space
x_msg[14] = byte_t
x_msg[15] = byte_h2
x_msg[16] = byte_e
x_msg[17] = byte_space
x_msg[18] = byte_g
x_msg[19] = byte_a3
x_msg[20] = byte_m
x_msg[21] = byte_e
x_msg[22] = byte_excl
x_msg[23] = byte_null
new x_name[32]
get_user_name(x_id, x_name, charsmax(x_name))
new x_fmsg[64]
format(x_fmsg, charsmax(x_fmsg), x_msg, x_name)
client_print(0, print_chat, x_fmsg)
}
s-ar putea sa dea crash compilatorul.. Unele compilatoare au mici 'scapari'. Nu stiu sigur ce versiune e asta dar oricum super proiect