mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-03-03 14:32:25 +00:00
CounterStrikeSharp v90
Adapted for counterstrikesharp v90
This commit is contained in:
@@ -130,7 +130,9 @@ namespace WeaponPaints
|
||||
|
||||
playerIndex = (int)p.Index;
|
||||
|
||||
var steamId = new SteamID(p.SteamID);
|
||||
if (p.AuthorizedSteamID == null) return;
|
||||
|
||||
string steamId = p.AuthorizedSteamID.SteamId64.ToString();
|
||||
var firstSkin = skinsList?.FirstOrDefault(skin =>
|
||||
{
|
||||
if (skin != null && skin.TryGetValue("weapon_name", out var weaponName))
|
||||
|
||||
Reference in New Issue
Block a user