Client
CreateNPC
Creates new NPC.
name:
string
The name of the npc , this has to be unique so it doesn't mess up with other NPCS.model:
string
The NPC model, you can find all NPC models here.position:
vector4
The coordinates of the NPC location.info:
table
The menu information you can find the info options here.options:
table
The menu options you can find the menu options here.
Examples
ChangeNpcOptions
Changes an existed NBC menu.
name:
string
The name of the NPC that you want to change the options for.info:
table
The menu information you can find the info options here.options:
table
The menu options you can find the menu options here.
Examples
DeleteNpc
Deletes an existed NBC.
name:
string
The name of the NPC that you want to delete
Example
openMenu
Opens a new menu, you can use it to open a new NPC menu that have other options from the original NPC menu, or you can use it to open the menu without NPC.
info:
table
The menu information you can find the info options hereoptions:
table
The menu options you can find the menu options here
Examples
closeMenu
Closes the menu, (you don't need that because the menu will close automatically when you choose an option, but i add it just in case you needed it)
Last updated