mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-05-19 13:41:55 +00:00
CounterStrikeSharp v90
Adapted for counterstrikesharp v90
This commit is contained in:
@@ -14,7 +14,7 @@ namespace WeaponPaints
|
||||
|
||||
internal static bool IsPlayerValid(CCSPlayerController? player)
|
||||
{
|
||||
return (player != null && player.IsValid && !player.IsBot && !player.IsHLTV && player.SteamID.ToString() != "0");
|
||||
return (player != null && player.IsValid && !player.IsBot && !player.IsHLTV && player.AuthorizedSteamID != null);
|
||||
}
|
||||
|
||||
internal static string BuildDatabaseConnectionString()
|
||||
|
||||
Reference in New Issue
Block a user