frankvg Posted March 25, 2013 Share Posted March 25, 2013 I've found a way to turn off all nametags. It's a script. http://development.mtasa.com/index.php?title=SetPlayerNametagShowing It looks like this: root = getRootElement ( ) -- Store all the players in the server into a table players = getElementsByType ( "player" ) function ResourceStart ( name, root ) for k,v in ipairs ( players ) do -- for all the players in the table setPlayerNametagShowing ( v, false ) -- turn off their nametag end end addEventHandler ( "onResourceStart", root, ResourceStart ) function PlayerJoin () -- Whoever joins the server should also have their nametags deactivated setPlayerNametagShowing ( source, false ) end addEventHandler ( "onPlayerJoin", root, PlayerJoin ) But now my question is, where do I have to paste this or edit this to make it work? What file? Link to comment
iPrestege Posted March 25, 2013 Share Posted March 25, 2013 Full resource download it and upload it to you're server and have fun : http://www.solidfiles.com/d/881d36764a/ Link to comment
frankvg Posted March 25, 2013 Author Share Posted March 25, 2013 Thanks, so I just add it to the resources map? Link to comment
Jaysds1 Posted March 25, 2013 Share Posted March 25, 2013 nah, you just add it to the "resources" folder, then start it in console or server. Link to comment
frankvg Posted March 25, 2013 Author Share Posted March 25, 2013 Thats what I ment actually . Oh, and does anyone know how to make myself admin? I can use F1 in the server, and everyone who joins can, but the server doesnt recognize me as admin, as I cant typ commands IG like: /start blabla or /stop blabla Link to comment
Ab-47 Posted March 25, 2013 Share Posted March 25, 2013 (edited) Save your script as a .lua file, add a meta.xml then move the folder to your MTA resources folder, then use the command: /refresh and start the loaded resource. Thats what I ment actually .Oh, and does anyone know how to make myself admin? I can use F1 in the server, and everyone who joins can, but the server doesnt recognize me as admin, as I cant typ commands IG like: /start blabla or /stop blabla MTA San Andreas > Server > Mods > Deathmatch > acl Edit that, add a line under; "Admin" saying: save it then restart your server. Edited March 25, 2013 by Guest Link to comment
Castillo Posted March 25, 2013 Share Posted March 25, 2013 https://wiki.multitheftauto.com/wiki/Se ... nistrators Link to comment
frankvg Posted March 25, 2013 Author Share Posted March 25, 2013 @Solidsnake14 thats too difficult for me haha. Well ab-47 so it'll look like this: Or also without ''? Link to comment
frankvg Posted March 25, 2013 Author Share Posted March 25, 2013 Oh and I got two admin things: This one. And this one. I'm really bad at this, so can you do an example where to past mine? My name is FrankieVG in-game. Link to comment
iPrestege Posted March 25, 2013 Share Posted March 25, 2013 This one : "Admin"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "resource.admin"> "resource.webadmin"> "resource.TAG Script Name"> Link to comment
Ab-47 Posted March 25, 2013 Share Posted March 25, 2013 @Solidsnake14 thats too difficult for me haha.Well ab-47 so it'll look like this: Or also without ''? Like this: Link to comment
frankvg Posted March 25, 2013 Author Share Posted March 25, 2013 I did it, but its still not working. Do I have to do something IG too or? I did it like this: I also got some other errors with resources, please help 1. The DayZ resource can't find the meta.xml file, help me! 2. Superheroes resource can't find the meta.xml either, help me! 3. CP resource can't link to spec. No idea what they all are or do, but it aint working. Weird how this all happened after I edited the acl file, though I just downloaded these (after I edited the acl.) How to fix this? 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