Torran Posted June 12, 2012 Posted June 12, 2012 I am extremely new to scripting on MTA. I have followed the tutorials on wiki, but I was just wondering if there is any way to detect when the server is started? Or better yet, when the gamemode is started? I am asking this because I come from SA-MP.. which, as some of you may know, uses OnGameModeInit.. So I am used to throwing a load of stuff into callbacks/events when the gamemode starts.. So is there any way to detect when the server or gamemode starts? This is basically so I can create a bunch of vehicles and other stuff
TAPL Posted June 12, 2012 Posted June 12, 2012 https://wiki.multitheftauto.com/wiki/Resource:Mapmanager when server start? i think onResourceStart can do the job https://wiki.multitheftauto.com/wiki/OnResourceStart and you can make the resource start when the server start from file 'mtaserver.conf'
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