If you try to get the PlayerName on the txAdmin:events:playerKicked/Banned Source or Target Entity, you get a nil Error.
But on txAdmin:events:playerWarned it works. Why? And is there any fix?
If you try to get the PlayerName on the txAdmin:events:playerKicked/Banned Source or Target Entity, you get a nil Error.
The reason “why” is because there is no target or source once the player is kicked/banned, but there is one when the player is warned. The source/target value is the player’s server network ID, once the player is not in the server there is no ID to provide. If you trust yourself editing your txAdmin files you could send the source value of the kicked/banned player