From efa2821a70b0e913581d44d7d296c367cf2d0343 Mon Sep 17 00:00:00 2001 From: Linventif Date: Sun, 4 Aug 2024 21:18:05 +0000 Subject: [PATCH] add: pointshop 2 in CustomCompatability --- lua/gmod_integration/shared/sh_player_meta.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/gmod_integration/shared/sh_player_meta.lua b/lua/gmod_integration/shared/sh_player_meta.lua index 77f6b79..9854e22 100644 --- a/lua/gmod_integration/shared/sh_player_meta.lua +++ b/lua/gmod_integration/shared/sh_player_meta.lua @@ -33,6 +33,9 @@ local function getCustomCompatability(ply) values.level = ply:GetLevel() values.xp = ply:GetXP() end + + // Pointshop + if Pointshop2 then values.points = ply:PS2_GetPoints() end return values end