26.08.2016, 06:04
PHP код:
new len,
input[256 * 2],
output[256];
input = "C2000000E0F108080400080094000000E40000001401000014";
len = strlen(input) / 2;
HexStringToString(input,output,sizeof(output)); //Return binary data: "В...ŕń......”...д........"
new File:outf = fopen("test.bin",io_write);
for(new i = 0; i < len; i++){
fputchar(outf,output[i],false);
}
fclose(outf);
https://sampforum.blast.hk/showthread.php?tid=595203