fix gloves and knives

This commit is contained in:
stefanx111
2025-08-10 20:12:14 +03:00
parent 40e18c9663
commit 191773fc5a
2 changed files with 18 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ namespace WeaponPaints
[GameEventHandler]
public HookResult OnClientFullConnect(EventPlayerConnectFull @event, GameEventInfo info)
{
{
CCSPlayerController? player = @event.Userid;
if (player is null || !player.IsValid || player.IsBot ||
@@ -142,7 +142,10 @@ namespace WeaponPaints
GivePlayerMusicKit(player);
GivePlayerAgent(player);
GivePlayerGloves(player);
Server.NextFrame(() =>
{
GivePlayerGloves(player);
});
GivePlayerPin(player);
return HookResult.Continue;