OnMapStart

Please post any questions about developing your plugin here. Please use the search function before posting!
decompile
Senior Member
Posts: 418
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

OnMapStart

Postby decompile » Wed Jul 13, 2016 12:34 am

Hey,
Im currently in phone cause I forgot to create this topic before goimg off, but however Im having problems withy automatic spawn points creator. Im using OnLevelInitialized to check the amount oft spawn points the current map but it always returns 0.. However would it be possible to add an 'OnMapStart' Listener when the map has been fully loaded so you can ASK these certain actions. (It worka when I load the script Düring map)
User avatar
L'In20Cible
Project Leader
Posts: 1536
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: OnMapStart

Postby L'In20Cible » Wed Jul 13, 2016 3:07 am

OnLevelInit is fired before the map is loading, and OnServerActivate is fired once everything is ready.
decompile
Senior Member
Posts: 418
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: OnMapStart

Postby decompile » Wed Jul 13, 2016 12:22 pm

Exactly what I was looking for! Thanks

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 74 guests