rott/kf_sources/HideMut/Classes/a_CashTosser.uc
2026-07-14 20:27:09 +07:00

37 lines
448 B
Ucode

class a_CashTosser extends a_ActorBase;
var KFPlayerController pc;
function startTossCash(KFPlayerController inPc)
{
pc = inPc;
setTimer(0.01, true); //0.01
}
function stopTossCash()
{
setTimer(0.0, false);
}
function timer()
{
if (KFPawn(pc.pawn) != none)
KFPawn(pc.pawn).tossCash(1);
}
// self cleanup
function Termination()
{
pc = none;
super.Termination();
}
defaultproperties
{
}