function setPlayerWorld (server-side)
Available since version: 0.0.4
This function will set the player/npc world for all players.
Declaration
void setPlayerWorld(int id, string world, string startPointName)
Parameters
intid: the player id.stringworld: the path to the target world (.ZEN). World path is relative to directory_Work/Data/Worlds.stringstartPointName: ="" the name of the vob to which the player will be moved. If passed empty string, player will be placed at world start point. If vob with specified name doesn't exists or world doesn't have start point, player will be placed at {0, 150, 0} coordinates.