Jump to content

[help] check is map download finished


DotFrank

Recommended Posts

Posted

hello guys, i'm making my own gamemode but i have a problem, when the map starts the player fall in the water because the map download isn't finished. how can i checks if the map download finished? What functions should i use? Greetings.

Posted (edited)

you can add that map in it's own resource folder and then only spawn/create other things only when map resource is started. Or just put map resource as first one to load in "mtaserver.conf" file. Or just make variable "isMapStarted' or anything like that and then set true when map starts and only then spawn everything. There are other ways doing it, only need to think a little, :D

Edited by Fist
Posted

my gamemode is based on maps like race, all maps are positioned over the water, i'm trying with onGamemodeStart but no way to check if the client map download has finished to spawn player.

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