DotFrank Posted April 24, 2017 Share Posted April 24, 2017 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. Link to comment
Fist Posted April 24, 2017 Share Posted April 24, 2017 (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, Edited April 24, 2017 by Fist Link to comment
DotFrank Posted April 24, 2017 Author Share Posted April 24, 2017 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. 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