592
« on: Friday, October 10, 2014, 14:28:46 PM »
This might be a function that might be used to detect Early 203(or GP).
Function Spamprotect()
{
local Projectile DisableProj;
foreach Level.DynamicActors(Class'Projectile',DisableProj)
{
if ( (DisableProj.Instigator == None) || (DisableProj.Instigator.PlayerReplicationInfo == None) || (DisableProj.Damage == 0) )
{
continue;
}
else
{
DisableProj.Damaage = 0.0;
DoWarning("203 Shot at spawn", p);
}
}
}
Not tested the code, but I think it might work without much change.
Might have to check class of the projectile to be accurate. But if we merge the two, we should be able to add an optional(Server Owner) spawn protection.
So question is if we should add it, and what punishment, at the moment it just makes the projectile and grenade to cause no injury.