User Tools

Site Tools


script:world_event:iscreativemode

For example:

–Determine whether it is creative mode

local result=World:isCreativeMode() --- Get the result for comparison
if result==0 then--if it is creative mode
	Chat:sendSystemMsg("Currently in creative mode!")
else--if it is not creative mode
	Chat:sendSystemMsg("Currently not in creative 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/iscreativemode.txt · Last modified: 2024/05/27 07:00 by don