function onScriptLoad() {
gate <- ::CreateObject(310, 1, -276.618, -495.992, 10.2778, 255);
gateStatus <- true;
key_M <- ::BindKey(true, 0x4D, 0, 0);
}
class WepPickup extends PickupClass {
wepID = null;
ammo = null;
constructor(model, pos, wepID, ammo) {
base.constructor(model, pos);
this.wepID = wepID;
this.ammo = ammo;
}
function onPickupPickedUp(player) {
player.GiveWeapon(wepID, ammo);
}
}
