mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-03-06 23:27:24 +00:00
fix gloves and knives
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user