#include <amxmodx>
public plugin_init() {
register_plugin("t", "0", "t")
register_clcmd("say /int", "int_test");
}
public int_test(id)
{
new int1[3], int2[2];
num_to_str(23, int1, 2);
num_to_str(23, int2, 1);
client_print(id, 3, "%s - %s", int1, int2);
client_print(id, 3, "%s%s%s", int1[0], int1[1], int1[2]);
client_print(id, 3, "%s%s", int2[0], int2[1]);
}
Wyniki:
23 - 2 23 2
Tą walkę wygrywa sebul, przykro mi kyriuch.