Description
Opens another player’s inventory for viewing or interaction.
Parameters
source (number): Source ID of the player opening the inventory.
source
playerid (string): Citizen ID of the target player.
playerid
Return Value
None
Example Use Case
ps.openInventoryById(source, "0987654321") print("Opened player 0987654321's inventory.")
Last updated 5 months ago