Author Topic: Locked  (Read 467 times)

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
« Last Edit: January 24, 2012, 12:13:06 AM by swollow »

how do I check if a file exists?
and is it possible to Unexecute a file?

1:
function yourfunction()
{
     if(isFile(Add-Ons/YourMod_Mod/modfile.cs))
    {
        //Your stuff if it exists
    }
}
2: No, not possible if I am correct.
« Last Edit: January 23, 2012, 12:11:11 AM by FFSO »

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

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
ya I was pretty sure of that just wondering if there was an easier way

thanks for the help
« Last Edit: January 24, 2012, 12:13:15 AM by swollow »