Skip to content

GrantItemTo

Description

GrantItemTo is a Server/Host ONLY Function
Grants an item from this world's Premades that has the same name (not cAsE sEnSiTiVe) being passed into this function. If one does not exist, or the granting fails, this function will return false.

Example
local testVariable = GrantItemTo("Toaster", GetLocalCharacter())
Usage

network usage: Server/Host ONLY
returns: bool
parameters:
- itemName (string)
- character (Character)