There might be a problem with the wait() function according to: https://www.google.lu/?gws_rd=cr&ei=TllBVpOgEcmnsgH7pZ7wCQ#q=lua%20wait
I created a wait function but this makes the game freeze probably because we are using wait() all over the script and I haven't disabled all of them for checking this function so we can still look into this.
function wait(seconds)
local _start = os.time()
local _end = _start+seconds
while (_end ~= os.time()) do
end
end
Another solution which might be a very elegant one is to load the GTA 5 Garage Loading Screen it is a nice room with no objects so easy to load! And while the player is in the room it loads the custom interiors. The coords for this area are: 405.936,-954.091,-98.004
There might be a problem with the
wait()
function according to: https://www.google.lu/?gws_rd=cr&ei=TllBVpOgEcmnsgH7pZ7wCQ#q=lua%20wait I created a wait function but this makes the game freeze probably because we are usingwait()
all over the script and I haven't disabled all of them for checking this function so we can still look into this.The following items did not work for me!
Another solution which might be a very elegant one is to load the GTA 5 Garage Loading Screen it is a nice room with no objects so easy to load! And while the player is in the room it loads the custom interiors. The coords for this area are: 405.936,-954.091,-98.004