Wiki
Clone wikiEFLC-MP LUA / createWorld
Description
Creates a new virtual world controller. They are responsible for syncing the world time and weather.
The server automatically creates a controller for virtual world ID 1.
Parameters
Int virtualWorld, Int weather, Int hour, Int minutes, Int minutesDuration
Int weather: weather id (https://bitbucket.org/Suge/eflc-mp-lua/wiki/weatherList.lua)
Int hour: 0-233
Int minutes: 0-59
Int minutesDuration: duration in ms, standard is 2000
Return values
Bool success
Example
Updated