Quote:
Originally Posted by Sev
I only have one issue left with this plugin maintaining to reemergence of weapons.
When you fail a map, it won't remember the second set of weapons in your entire inventory. You'll only have the first set of weapons remembered. Fix that and it's good for me.
|
Do u know how to edit and compile an .sp file? If you do its as simple as commenting out...
public Action:player_death(Handle:hEvent, const String:strName[], bool
ontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(hEvent, "userid"));
if(client>0 && IsClientInGame(client) && GetClientTeam(client) == 2)
{
RemoveItemAttach(client, -1);
DropSecondaryItem(client); // Comment out this line
}
ResetClientState(client); // and also possibly this line
}
//DropSecondaryItem(client); like so...
This should fix that issue temporarily, however it may also cause any player that has died on a map, then rescued, to still have there secondaries, I will look into this further when I have time, and come up with a solution. Haven't had much time lately, and what time I do have is completely rewriting Multiple Equipment, so my source is a hacked mess and I won't be pushing an update for this soon...if you need help figuring it out, PM me...