hey guys, i try to check if a config is existing or not.
i tried:
but that gives me "InvalidCastException: Value is not a convertible object"Code:string UserName = hitInfo?.Initiator?.ToPlayer().displayName; if (!(bool)Config.Get("Dmg", UserName))
anybody a idea how to solve this problem?
thank you
InvalidCastException: Value is not a convertible object
Discussion in 'Rust Development' started by Alfred 2, Apr 12, 2018.