I'm putting together a mutator that makes it so you don't have or earn money.
But I've come across bumps. I'm not too good at coding to be honest, but I try.
The first thing I tried was:
But no go.
Also though:
Or:
Might work, but not too sure about that.
I was thinking about using
but I'm not too sure how to initiate PlayerReplicationInfo into that.
Any tips or help would be useful
But I've come across bumps. I'm not too good at coding to be honest, but I try.
The first thing I tried was:
Code:
function Mutate(string MutateString, PlayerController Sender)
{
if (Caps(MutateString) == "HYPER")
Sender.Pawn.Score = 0;
Super.Mutate(MutateString, Sender);
}
Also though:
Code:
function Timer()
{
local KFHumanPawn Player;
foreach DynamicActors(class 'KFHumanPawn', Player)
{
if (Player.Score <= 1) Player.Score -= 1;
else Player.Score = 0;
}
}
Code:
function Timer()
{
local KFHumanPawn Player;
foreach DynamicActors(class 'KFHumanPawn', Player)
{
if (Player.PlayerReplicationInfo <= 1) Player.PlayerReplicationInfo -= 1;
else Player.PlayerReplicationInfo = 0;
}
}
I was thinking about using
Code:
function ModifyPlayer(Pawn Other)
Any tips or help would be useful