XetaQuake Posted February 24, 2008 Posted February 24, 2008 hi, how can i make the "Mode" display in the browser working? there a just "MTA:SA" but i want to display the name of my gamemode note: i don´t use maps in different .zip files (or folders) i only have one .map file in the same folder as the gamemode for car spawns i hope for answer, thanks // Connect to Server - Open Website // ° Youtube - Twitter °
50p Posted February 24, 2008 Posted February 24, 2008 http://development.mtasa.com/index.php? ... _functions - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
XetaQuake Posted February 24, 2008 Author Posted February 24, 2008 thanks for the link function mapName() setMapName("Name-of-the-Map") end addEventHandler ( "onResourceStart", getResourceRootElement(), mapName ) function modeName() setGameType("Name-of-the-Gamemode") end addEventHandler ( "onResourceStart", getResourceRootElement(), modeName ) don´t work its all server side, any ideas? // Connect to Server - Open Website // ° Youtube - Twitter °
50p Posted February 24, 2008 Posted February 24, 2008 Try this one: function mapName() setMapName("Name-of-the-Map") end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), mapName ) function modeName() setGameType("Name-of-the-Gamemode") end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), modeName ) - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
XetaQuake Posted February 24, 2008 Author Posted February 24, 2008 that have i allready testing, No changes I am realy wondering that this dont work...i can´t see ANY problems in the script // Connect to Server - Open Website // ° Youtube - Twitter °
50p Posted February 24, 2008 Posted February 24, 2008 Do you have any warnings or errors while gamemode start/run? /debugscript 3 - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
XetaQuake Posted February 24, 2008 Author Posted February 24, 2008 no, by nothing of this 2 scripts // Connect to Server - Open Website // ° Youtube - Twitter °
50p Posted February 24, 2008 Posted February 24, 2008 How isn't it working? Just doesn't display the gamemode's and map's name? Have you tried to refresh the server list? - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
XetaQuake Posted February 24, 2008 Author Posted February 24, 2008 ah its works yet but only when i make a /votemode for the gamemode when i start the server and let the gamemode automaticaly starting, it dont work NOTE: i use the gamemode starter, i have the gamemode don´t in the mtaserver.conf is this a bug in MTA or in the automatic gamemode starter by AlienX? // Connect to Server - Open Website // ° Youtube - Twitter °
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