Code: Select all
/c game.local_player.force.chart(game.local_player.surface,{lefttop = {x = -1024, y = -1024}, rightbottom = {x = 1024, y = 1024}})
Thanks.
Code: Select all
/c game.local_player.force.chart(game.local_player.surface,{lefttop = {x = -1024, y = -1024}, rightbottom = {x = 1024, y = 1024}})
Code: Select all
require "defines"
script.on_event(
defines.events.on_player_created,
function ( event )
-- game. is available here
end
)