./BlackBird# Posted November 12, 2012 Share Posted November 12, 2012 hi i want to script gamemode but how to make player can set players spawn in Map editor like basemode and TDM Link to comment
Castillo Posted November 12, 2012 Share Posted November 12, 2012 You have to make an EDF as far as I know. https://wiki.multitheftauto.com/wiki/EDF Link to comment
./BlackBird# Posted November 12, 2012 Author Share Posted November 12, 2012 and? i think i need lua code Link to comment
Castillo Posted November 12, 2012 Share Posted November 12, 2012 As far as I know, that'll only create the map file with the spawnpoint and all the attributes you created in the EDF, then you have to make a script which get's them from the current map. Link to comment
./BlackBird# Posted November 13, 2012 Author Share Posted November 13, 2012 ok thanks, is there event onMapStart? Link to comment
Castillo Posted November 13, 2012 Share Posted November 13, 2012 Resource "mapmanager" handles that, and there is: "onGamemodeMapStart". Link to comment
./BlackBird# Posted November 13, 2012 Author Share Posted November 13, 2012 thank you Solidsnake14 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