mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
Fix: ps2Points & ps2PremiumPoints
This commit is contained in:
parent
462cb5e102
commit
c273ed209b
|
@ -38,8 +38,11 @@ local function getCustomCompatability(ply)
|
|||
values.xp = ply:GetXP()
|
||||
end
|
||||
|
||||
// Pointshop
|
||||
if Pointshop2 then values.points = ply:PS2_GetPoints() end
|
||||
// Pointshop 2
|
||||
if Pointshop2 && ply.PS2_Wallet then
|
||||
values.ps2Points = ply.PS2_Wallet.points
|
||||
values.ps2PremiumPoints = ply.PS2_Wallet.premiumPoints
|
||||
end
|
||||
return values
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user