Jump to content

Ошибка при удаление всей карты.


Recommended Posts

function remove() 
	for i=550,20000 do
	    removeWorldModel(i,10000,0,0,0)
	end
	setOcclusionsEnabled(false)  -- Also disable occlusions when removing certain models
	setWaterLevel(-5000)         -- Also hide the default water as it will be full of holes
end 
addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), remove) 

в мете этот скрипт должен быть не server, а client

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...