This is inside code of a base class for a weapon, just so you know the context.
Here is the function:
Code: Select all
int GetCurXhair()
{
return -int(player.ReadyWeapon.Crosshair);
}
Code: Select all
self.player.ReadyWeapon.Crosshair = GetCurXhair();
I tried invoker.GetCurXhair(); with no success either.