Deagle Posted April 6, 2011 Share Posted April 6, 2011 I have my own MTA DM server, and I want to know some things : 1. How can i limit the "Play Again" option to maximum 3 times at the vote of the same map ? 2. How can i add a "Random" option in the vote ? 3. What can i do so that the players could not use /voteredo and commands like that ? 4. How can I make colored blips on the radar for each team ? 5. How can i change the servers font ? The one that apears above the players for example. 6. How can i move the time passed from its initial position (down-right) to up-center, near the timeleft. Thanks for who will help me. Link to comment
Castillo Posted April 6, 2011 Share Posted April 6, 2011 Hi, i think that those stuff only can be done by scripting. and, what do you mean in the question #5? Link to comment
qaisjp Posted April 6, 2011 Share Posted April 6, 2011 I think he means he wants a different font for the name tags. Link to comment
Deagle Posted April 6, 2011 Author Share Posted April 6, 2011 I know that that's made by scripting but help me dont just say it, or say to me the files names where I find those settings to modify them. But I need a quick answer at question 4 .. Link to comment
Timic Posted April 6, 2011 Share Posted April 6, 2011 Answer on #4: function setBlipColour(player) local attachedElements = getAttachedElements(player) local team = getPlayerTeam" class="kw2">getPlayerTeam(player) local r, g, b = getTeamColor(team) if attachedElements then for k,v in ipairs(attachedElements) do if getElementType(v) == "blip" then setBlipColor(v,r,g,b,255) end end end end function onSpawn() setTimer(setBlipColour,500,1,source) end addEventHandler ( "onPlayerSpawn", getRootElement(), onSpawn) P.S: I didn't test it (yet) 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