| Blockland Forums > Modification Help |
| Locked |
| (1/1) |
| Swollow:
how do I check if a file exists? and is it possible to Unexecute a file? Can you use getclipboard(); to get the clipboard from a client? I don't have anyone to test this with right now can you? doesn't seem possible |
| FFSO:
--- Quote from: swollow on January 23, 2012, 12:01:42 AM ---how do I check if a file exists? and is it possible to Unexecute a file? --- End quote --- 1: function yourfunction() { if(isFile(Add-Ons/YourMod_Mod/modfile.cs)) { //Your stuff if it exists } } 2: No, not possible if I am correct. |
| Nexus:
If I have a function that I don't like there are a couple of things I can do. 1. When I make it, put it in a package (even if it isn't overwriting other functions) so I can enable and disable it at will 2. execute the functions with no code: function servercmdexploit(){} 3. Overwrite the function with a package |
| Swollow:
--- Quote from: Nexus on January 23, 2012, 02:19:10 AM ---If I have a function that I don't like there are a couple of things I can do. 1. When I make it, put it in a package (even if it isn't overwriting other functions) so I can enable and disable it at will 2. execute the functions with no code: function servercmdexploit(){} 3. Overwrite the function with a package --- End quote --- ya I was pretty sure of that just wondering if there was an easier way thanks for the help |
| Navigation |
| Message Index |