Skip to content

Commit

Permalink
fix(server/player): SetCreditCard deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
mafewtm committed Oct 27, 2024
1 parent 2d4c13b commit b4bde2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ function CreatePlayer(playerData, Offline)
error('Player.Functions.SetInventory is unsupported for ox_inventory. Try ClearInventory, then add the desired items.')
end

---@deprecated use SetCreditCard instead
---@deprecated use SetCharInfo instead
---@param cardNumber number
function self.Functions.SetCreditCard(cardNumber)
self.PlayerData.charinfo.card = cardNumber
Expand Down

0 comments on commit b4bde2f

Please sign in to comment.