event PostRender( canvas Canvas )
Code: Select all
local Canvas C;
local PlayerPawn me;
C = Canvas;
me = Root.Console.ViewPort.Actor;
if (me.Weapon.isA('Translocator')) {
C.SetPos(0, C.ClipY - 300);
C.DrawText(" DBG: '" $
me.Weapon.GetPropertyText("MaxTossForce") $ "'; '" $ // 1
Translocator(me.Weapon).GetPropertyText("MaxTossForce") $ "'; '" $ // 2
Translocator(me.Weapon).MaxTossForce $ "'"); // 3
}
But if I start dedicated server, or enter to Network server, I see empty strings for first two values, and proper value, for third. Why?