Thread: Opening GUIs?
View Single Post
  #4  
Old 10-26-2010, 04:57 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Learn more about the scripts around you by dumping all their user-defined functions, and a quick peek at some this vars.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  for (
temp.wepplayer.weapons) {
    
temp.funcs temp.wep.getfunctions();
    for (
temp.functemp.funcs) {
      
// Ignore Built-In Functions
      // All user-defined functions have a parameters set to ...
      
if (temp.func.parameters != "...") continue;
      
temp.doc.add((temp.func.scope == "public" "public " "") @ "function " temp.func "();");
    }
    
temp.doc.sortdescending();
    
temp.doc.insert(0"== Functions ==");
    
temp.doc.add("== this. Variables == ");
    
temp.keys temp.wep.getdynamicvarnames();
    for (
temp.keytemp.keys) {
      if (
temp.key in temp.funcs) continue;
      
temp.doc.add("this." temp.key SPC "=" SPC temp.wep.(@temp.key));
    }
    
temp.doc.savelines("functions/" temp.wep.name ".txt"0);
    
temp.doc "";
  }

__________________
Quote:
Reply With Quote