Need help from the "top-notch editing specialists"

This is for my RPG map. I've made a bank, and each player has his own vault. I want the items to stay in there forever if they are deposited (but not respawn, obviously). Here is my code for the zone:
Ok now as you can see there are 2 parts.
The first part deals with credits (which in my case extend deusexprojectile), but override some features. This part works in single player, but not in multiplayer. In MP, they just destroy themselves as usual.
The second part deals with items. The code works only partially, - this is what happens:
1. you pickup weapon.
2. you throw it in safe.
3. it stays there forever.
4. you pick it up again.
5. you throw it in safe (again).
6. It destroys itself like in a normal zone.
Help is much appreciated!
- Code: Select all
//=============================================================================
//
//=============================================================================
class MMRPGBankArea extends MMRPGSafeArea;
event ActorEntered( actor Other )
{
Super.ActorEntered(Other);
if(Other.isA('DeusExProjectile'))
{
if((Other.IsA('MMRPGCreditsProjectile'))||(Other.IsA('MMRPGCreditsProjectileFive'))||(Other.IsA('MMRPGCreditsProjectileTen')))
{
Other.Lifespan = 0.0;
}
}
if(Other.isA('Inventory'))
{
if (Other.IsInState('Pickup'))
{
Inventory(Other).LifeSpan = 0.0;
Inventory(Other).RespawnTime = 0.0;
}
}
}
event ActorLeaving( actor Other )
{
Super.ActorLeaving(Other);
}
defaultproperties
{
}
Ok now as you can see there are 2 parts.
The first part deals with credits (which in my case extend deusexprojectile), but override some features. This part works in single player, but not in multiplayer. In MP, they just destroy themselves as usual.
The second part deals with items. The code works only partially, - this is what happens:
1. you pickup weapon.
2. you throw it in safe.
3. it stays there forever.
4. you pick it up again.
5. you throw it in safe (again).
6. It destroys itself like in a normal zone.
Help is much appreciated!
