was the first thing that I did... went at weapons file...
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self.concussionEndTime = 0;
self.hasDoneCombat = false;
self thread watchWeaponUsage();
self thread watchGrenadeUsage();
self thread watchWeaponChange();
self.droppedDeathWeapon = undefined;
self.tookWeaponFrom = [];
self thread updateStowedWeapon();
}
}
I already commented ALL of them, and STILL can pickup weapons on the floor...
there's also a function called
watchPickup() which I also removed, and STILL can pickup the weapons...
but why I need this? I'll explain...
I did a feature that is working GREAT right now, is called Hajas Duel, so when left just one player to each side, all the weapons are removed, then they will need to bash each other to decide the round...
no problem about that, but I removed their weapons, then still have weapons on the floor, so it's just you get them to destroy the duel... that's why I want to avoid that... :wink:
If I'll not make this, I'll need to make a function to remove all weapons from the floor... this is another solution...
I just need to know where exactly the use key are controlled, If you can just point me that, I'll do the rest... I simply can't find... I'm starting to think that is in the part of the code not available to us... :roll:
thanks!