Put your code in PHP tags.
PHP Code:
//#CLIENTSIDE
function onCreated() {
showstats(1 + 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(keycode, keystring, scancode) {
// 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", "");
}
}
}