clearInventory
Description
Clears the entire inventory of a player.
Parameters
source
(number): Source ID of the executor (for logging).identifier
(string): Citizen ID of the player whose inventory will be cleared.
Return Value
None
Example Use Case
ps.clearInventory(source, "1234567890")
print("Cleared inventory for player 1234567890.")
Last updated