Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // pdfIcon
- local pdffilepath="Y://AM_HyperpiePC//Attract//layouts//Basic//pdf//";
- local game_name = fe.game_info(Info.Name);
- local pdffile = pdffilepath + game_name + config["extension"];
- local littlepngicon = fe.add_image( "manual.png", 0, 0, 200, 200);
- fe.load_module("file");
- function pdffile( pdffile )
- {
- try {file(pdffile, "r" );return true;}catch(e){return false;}
- }
- if (file_exist(pdffile)) littlepngicon.visible=true
- else littlepngicon.visible=false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement