Closed PARTOVIY closed 2 years ago
Subscribe to Provider.onCheckValidWithExplanation and edit SteamPending.skin
The skin can only be obtained, I already tried it.
Use reflection to set "_skin" field
var field = typeof(SteamPending).GetField("_skin", BindingFlags.Instance | BindingFlags.NonPublic);
field.SetValue(pending, color);
Subscribe to Provider.onCheckValidWithExplanation and edit SteamPending.skin
Is it possible to subscribe to UnturnedPermission.onJoinRequest and get the same effect?
Yes, but it is just a wrapper and it use obsolete underlying event
Thanks you, very much
How to force change player color?) This would be useful for controlling players on RP servers.