View Single Post
  #12  
Old 05-06-2012, 06:49 PM
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
Put your code in PHP tags.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
showstats(0x200 0x400 +  0x800); // Shows only ASD, Inventory NPCs, Players, Profiles
  
enablefeatures(allfeatures 0x20// Enables all features except S + D key combination
}

// You can simulate onWeaponFired like this:
function GraalControl.onKeyDown(keycodekeystringscancode) {
  
// Make sure the player isn't frozen
  
if (player.freezetime 0) { 
    
// Make sure they used the default weapon key
    
if (keystring.upper() == keyname(4)) {
      
// Trigger onWeaponFired on currently selected weapon
      
player.weapon.trigger("WeaponFired""");
    }
  }

__________________
Quote:
Reply With Quote