User Tools

Site Tools


script:world_event:isfreemode

For example:

–Determine whether it is an adventure free mode

local result=World:isFreeMode()
if result==0 then--if it is adventure free mode
	Chat:sendSystemMsg("Currently in adventure free mode!")
else--if not
	Chat:sendSystemMsg("This is not the adventure free mode!")
end

If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord

script/world_event/isfreemode.txt · Last modified: 2024/05/27 13:54 by don