Mr.ArO Posted December 25, 2010 Share Posted December 25, 2010 is there any recource that let's admins to be in god-mode ?? or how to do that? Link to comment
dzek (varez) Posted December 25, 2010 Share Posted December 25, 2010 never seen. using admin powers to gain advantages = most lame thing admin can do on their servers https://wiki.multitheftauto.com/wiki/Has ... rmissionTo or https://wiki.multitheftauto.com/wiki/IsObjectInACLGroup and just cancelEvent() onPlayerDamage event Link to comment
Mr.ArO Posted December 26, 2010 Author Share Posted December 26, 2010 no no not powers we want to parkour and every time we die i need to know scripting for that? Link to comment
Castillo Posted December 26, 2010 Share Posted December 26, 2010 server.lua addCommandHandler("godmode", function (thePlayer) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Sr.Admin")) then triggerClientEvent(thePlayer,"god_mode",thePlayer) end end) client.lua addEvent("god_mode",true) addEventHandler("god_mode",getRootElement(), function () addEventHandler ( "onClientPlayerDamage", getRootElement(), function() cancelEvent() end) end) meta.xml <meta> <info author='Castillo' version='1.0' name=God mode' description= type='script' /> <script src='client.lua' type='client' /> <script src='server.lua' type='server' /> </meta> Link to comment
Mr.ArO Posted December 26, 2010 Author Share Posted December 26, 2010 (edited) Solidsnake14 thanx very much for help but where are the server.lua, client.lua and meta.xml (i'm noob in this work ) Edited December 26, 2010 by Guest Link to comment
Castillo Posted December 26, 2010 Share Posted December 26, 2010 i gave you the code! just create a new folder and 3 files. 1. server.lua 2. client.lua 3. meta.xml and paste the code acording to file. Link to comment
Mr.ArO Posted December 26, 2010 Author Share Posted December 26, 2010 =========================================================== = Multi Theft Auto: San Andreas v1.0.4 =========================================================== = Server name : GtaLive MTA Server = Server IP address: = Server port : 20031 = = Log file : ../mta/server/mods/deathmatch/logs/server.log = Maximum players : 32 = MTU packet size : 1264 = HTTP port : 20031 =========================================================== [2010-12-26 10:48:57] ERROR: Couldn't parse meta file for resource 'godmod' [2010-12-26 10:48:57] Loading of resource 'godmod' failed [2010-12-26 10:49:09] Resources: 267 loaded, 0 failed [2010-12-26 10:49:09] Querying game-monitor.com master server... success! [2010-12-26 10:49:10] Starting resources........... [2010-12-26 10:49:13] Server started and is ready to accept connections! when i am starting appears this what to do?? Link to comment
Castillo Posted December 26, 2010 Share Posted December 26, 2010 http://www.mediafire.com/?h861wg1q404be1w Link to comment
Mr.ArO Posted December 26, 2010 Author Share Posted December 26, 2010 O_O I am dieing what to do?? Help please i need that script Link to comment
dzek (varez) Posted December 26, 2010 Share Posted December 26, 2010 just download that one Solid gave you -.- Link to comment
Mr.ArO Posted December 26, 2010 Author Share Posted December 26, 2010 i had downloaded when i am jumping and hitting the floor i die Link to comment
Castillo Posted December 26, 2010 Share Posted December 26, 2010 you don't even read the code, right? login as admin and type /godmode damn kids Link to comment
Mr.ArO Posted December 27, 2010 Author Share Posted December 27, 2010 but i am typing /godmode and nothing happens when i am jumping i am dieing again Link to comment
Castillo Posted December 27, 2010 Share Posted December 27, 2010 open server.lua and remplace "Sr.Admin" with "Admin" and then should work. Link to comment
Mr.ArO Posted December 27, 2010 Author Share Posted December 27, 2010 again didn't worked Link to comment
Castillo Posted December 27, 2010 Share Posted December 27, 2010 You are doing something wrong, learn how to install/edit scripts. it worked fine at my server without problems. P.S: i will stop posting on this topic because you won't even learn how to edit a script. Link to comment
J.S. Posted December 27, 2010 Share Posted December 27, 2010 It's not "Sr.Admin" or "Admin", it's "Administrator". If you don't have it set up in ACL to the point where you're an admin, see this That's all I'm gonna say on this. Link to comment
12p Posted December 27, 2010 Share Posted December 27, 2010 Stop talking about this, I think he won't get it anyway. Link to comment
Castillo Posted December 28, 2010 Share Posted December 28, 2010 It's not "Sr.Admin" or "Admin", it's "Administrator". If you don't have it set up in ACL to the point where you're an admin, see this That's all I'm gonna say on this. I have a group named "Sr.Admin" which has full control over my test server, some times i invite people and i need to give them admin powers but they don't have enough to f*** something Link to comment
Castillo Posted December 30, 2010 Share Posted December 30, 2010 Stop spamming Neukfout. 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