function createTextFile takes player PL returns nothing
local string FolderName = "Site"
local string FileName = "Sample"
local string FileType = ".txt"
if GetLocalPlayer() == PL then
// Initialize Preload Functions
call PreloadGenClear()
call PreloadGenStart()
// Write
call Preload( "\n\nwww.hiveworkshop.com\n\n" )
// Close It
call PreloadGenEnd( FolderName + "\\" + FileName + "\\" + FileType )
endif
endfunction