Jump to content

Command to give player_name some items


Recommended Posts

i need give some item to a player by command

i google and found command:

UserToPlayer("player_name").components.inventory:GiveItem(GLOBAL.SpawnPrefab("name_of_item"))

but GLOBAL not declare at console.

i want a command can use at dedicated console,any solution?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...