10-16-2015, 03:00 AM
(This post was last modified: 10-16-2015, 03:02 AM by JonnyBoy0719.)
To enable command blocks, you need to set CommandBlocksEnabled to true on your world.ini file on the world you want to enable command blocks.
For the command execute, here is an example:
You should also check the API for all the information, it will help alot.
For the command execute, here is an example:
local pluginManager = cRoot:Get():GetPluginManager() local MyCvar = "/spawn" -- Teleports back to spawn pluginManager:ExecuteCommand( a_Player, MyCvar )
You should also check the API for all the information, it will help alot.