AC1 Posted June 20, 2018 Share Posted June 20, 2018 Ошибка: 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 Link to comment
LoveFist Posted June 21, 2018 Share Posted June 21, 2018 Скрипт в meta.xml должен быть подключен в теге script, а не config Детали: https://wiki.multitheftauto.com/wiki/RU/Meta.xml Link to comment
AC1 Posted June 21, 2018 Author Share Posted June 21, 2018 @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 Link to comment
LoveFist Posted June 21, 2018 Share Posted June 21, 2018 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
AC1 Posted June 21, 2018 Author Share Posted June 21, 2018 Окей. @LoveFist спасибо , всё сработало. Кому надо --->https://yadi.sk/d/EGJknTid3YCSRw Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now