Sign in to follow this  
AC1

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

Recommended Posts

Ошибка:  Starting remove
[19:05:56] ERROR: Couldn't parse config remove.lua in resource remove
[19:05:56] Failed to start resource item remove.lua in remove
start: Resource 'remove' start was requested (Failed to start resource item remove.lua which is required)

Скрипт: https://yadi.sk/d/NDEjRFDq3YB5im 

Share this post


Link to post

@LoveFist интересная ошибка ,  SCRIPT ERROR: remove\remove.lua:11: '=' expected near 'end', поставил '=' , Loading script failed: remove\remove.lua:11: unexpected symbol near 'end' выдало её. Вот скрипт ---> YD  https://yadi.sk/d/EGJknTid3YCSRw

Share this post


Link to post
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

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.