function setPlayerInstance (client-side)
Available since version: 0.3.0
This function will change the player/NPC in-game instance.
Declaration
boolean setPlayerInstance(number player_id, string instance)
Parameters
numberplayer_id: Target player or NPC id; negative ids refer to client-local NPCs.stringinstance: Instance name.
Returns boolean
True if the change was queued for the next frame, false otherwise.