Monty Posted April 14, 2012 Share Posted April 14, 2012 I wrote a gamemod! but when i input start nameofgamemod it says resource started succesfully but in server browswer i see MTA:SA ... this is the meta.xml <meta> <info author="stolka" name="return to 90's detroit" description="virtual real life" version="1.0" type="gamemode" /> <include resource="spawnmanager" /> <include resource="ROADlogin" /> <settings> <setting name="*spawnreset" value="onSpawn" friendlyname="Spawn Reset" accept="onSpawn,onServerEmpty,onServerStart" desc="When should a new spawnpoint be chosen?" /> <setting name="#minplayers" value="[ 0 ]" /> <setting name="#maxplayers" value="[ 128 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <setting name="#weather" value="[ 0 ]" /> <setting name="#time" value="12:0" /> <setting name="#locked_time" value="[ false ]" /> <setting name="#waveheight" value="[ 0 ]" /> <setting name="#gamespeed" value="[ 1 ]" /> </settings> <map src="broph.map" /> <script src="broph.lua"/> </meta> Link to comment
drk Posted April 14, 2012 Share Posted April 14, 2012 Use setGameType to change your gamemode name. Link to comment
myonlake Posted April 14, 2012 Share Posted April 14, 2012 Game mode name will be made with DrakeN's function suggestion. If the game mode name is too big, it should/will maybe show up as MTA:SA. Usually when you start a game mode, it renames the type automaticly as how it is marked in the meta.xml: <info name="gamemodename"/> It will put the type as gamemodename after. Link to comment
drk Posted April 14, 2012 Share Posted April 14, 2012 But... myonlake, he put. name="return to 90's detroit" 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