- Code: Select all
//===============================================================
// Replacer for Tactical MOD ATLANTIS YAY
//===============================================================
class replacer extends Actor;
function PreBeginPlay()
{
local DeusExWeapon w;
foreach allActors(class'DeusExWeapon',w)
{
if (w.isA('WeaponPistol'))
Spawn(class'Tactical.WeaponVector',,,w.location,w.rotation);
else if (w.isA('WeaponRifle'))
Spawn(class'Tactical.WeaponFamas',,,w.location,w.rotation);
else if (w.isA('WeaponStealthPistol'))
Spawn(class'Tactical.WeaponLaserPistol',,,w.location,w.rotation);
else if (w.isA('WeaponAssaultshotgun'))
Spawn(class'Tactical.WeaponMp5',,,w.location,w.rotation);
else if (w.isA('WeaponAssaultGun'))
Spawn(class'Tactical.WeaponOICW',,,w.location,w.rotation);
w.Destroy();
}
}
And in the Server this turns up
- Code: Select all
Warning: Failed to load 'NULL': Can't resolve package name
Warning: Failed to load 'Class None.Replacer': Can't resolve package name
Warning: Can't resolve package name
How do I fix this?
Mu package is Replacer.u