Jump to content

How to check if client has loaded all objects?


dober

Recommended Posts

Posted

Hello

I am working on new gamemode and I wonder if there is a function which allows me to check if someone still waits for objects to load.

I mean, I don't want to spawn someone when game looks like this:

http://s733.photobucket.com/user/truecr ... 6.png.html

I currently use setCameraMatrix to the place I want to load instantly after player join, and 5 seconds after that I fadeCamera in and objects are loaded, but I guess there is a better way.

Greetings

Posted

I don't know if there's such specific function, but most closest one to it is this one:

isElementWaitingForGroundToLoad 

If above solution doesn't work, and there are no other functions to check if objects are loading, you can suggest that function at bugs.mtasa.com

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...