Hello. I need to write into .txt file custom text like "a44fG3D3o".
Every time delete old and write newone. My script:
PHP Code:
public WriteMatchID()
{
new i = 0;
new mixid = i++;
new writedata[128];
new filename[256]
get_configsdir(filename,255)
format(filename,255,"%s/mixid.txt",filename)
formatex(writedata,127,"%s",mixid)
write_file(filename,writedata)
}
But nothing. Any ideas? Im new pls dont hate me