I wanna know how to add a line to a notepad i tried this
function ServerCmdsign(%client)
{
%FO = new FileObject();
%FO.openForWrite("add-ons/test.txt");
%FO.writeLine(%client.name);
%FO.close();
%FO.line++;
findClientByName(%client.name).centerPrint("Thanks for signing");
}
There is no syntax but whenever someone says /sign it stays on line 1 and otherwrites the last person to say /sign's name instead of going to a new line,Please help