
Gamesnert
MTA Contributors-
Posts
2,035 -
Joined
-
Last visited
Everything posted by Gamesnert
-
Make sure the admin resource is started. You can start it by typing "/start admin". If that's not the problem, it seems like you did something wrong with the "adding administrators" part.
-
Try this: http://www.microsoft.com/downloads/deta ... 4b9f2bc1bf The installer sometimes fails to download / install this during MTA installation.
-
This option will most likely never be turned off in MTA itself. Handling mods and such have been a problem for a long, long time. And now, it's fixed. Here are several topics which might help: https://forum.multitheftauto.com/viewtop ... es#p302881 https://forum.multitheftauto.com/viewtop ... es#p303153 https://forum.multitheftauto.com/viewtop ... es#p302879 https://forum.multitheftauto.com/viewtop ... 55#p300269 Please search next time.
-
If only things were so easy eh? Anyway, this is entirely possible by script. One of the major advantages of 1.0's map editor compared to the race's map editor is enormous flexibility through scripting. If someone is willing to make something like this, then you can just the resource in your resources folder, and it should be ready to be plugged in into the editor. Your suggestion can't be inputted directly into the editor, since there has to be a resource running to actually understand the lines you've written. Go try and type "Open when player/vehicle is at 10 meter(s)" in a Lua script and save it, you'll see MTA doesn't understand a single thing of what you wrote. It doesn't understand something like "" in a map either. Only if there's a small script that MTA DOES understand which translates your strings into executable commands for the server to perform, it will undertake action. If someone would like to make it, sure, why not. Would make MTA a lot cooler and simpler to work with. But it can be a lot of more work than it might seem, so I think it's not very likely this will be implemented or provided in any resource any time. (soon at least)
-
Could you please put tags around long files next time? It's kind of annoying to scroll through it. But right: 1. has to be set to a [b]number[/b], not an [b]IP[/b]. Change it to 22005 or any other desired port number. 2. You need to portforward your server for the server browser (or any other kind of external signal) to access your server 3. The server browser tends to be incredibly slow when it comes to new servers. Be patient after making sure about point 1 and 2, it can take anywhere from several minutes, to several hours, and perhaps even up to a full day.
-
guiSetVisible(teleportWindow, false) showCursor(false) end addEventHandler("onClientGUIClick",teleportButtonBus,teleportPlayer,false) addEventHandler("onClientGUIClick",teleportButtonPlane,teleportPlayer,false) end Put these event handlers inside the createTeleportWindow function.
-
Problems in MTA...something something..HELP NEEDED.
Gamesnert replied to $[MG]Badman$'s question in Client
Just so you know, if the handling file has been changed by you, you indeed get this error. Also, the original handling file is in that archive. (as are all other checked files) If the handling file is still the edited one, you did something wrong. -
"Rocket Launcher" should work "Rocket Launcher HS" is the heat-seeking version. But it seems like you're playing on a server that runs the freeroam resource. This would mean that if you press F1, you get a panel with most desired functions. (weapons, vehicles, animations, teleport, ....) I suggest trying that before trying to use more "/" commands, as it'll save you some hassle. EDIT: Ok, freeroam doesn't appear to support either Rocket Launcher nor Rocket Launcher HS. If you want to use them those using "/" commands, you have to remember their IDs. (35, 36)
-
Problems in MTA...something something..HELP NEEDED.
Gamesnert replied to $[MG]Badman$'s question in Client
GTA3.img isn't checked by MTA. Just download the original data files. Put the files in "%GTA San Andreas install folder%/data" (Make sure it overwrites your data files) and make sure you run MTA with administrator rights. -
I presume you mean in play / freeroam. Open freeroam.zip in the resources folder, open the meta.xml file in notepad, and change setting "*vehicles/maxperplayer" 's value to as much as you want. (It's somewhere near the bottom)
-
Functions triggered by command handlers always have the player who typed the command as first argument server-side. No matter if you call it - thePlayer - theVehicle - theObject - theCake - wutage The content will always be a player. To get the vehicle that player is in, use getPedOccupiedVehicle
-
Do you get this problem in SA-MP or Singleplayer too? I know there's an issue with AMD dual-cores and GTA SA, which can be resolved with the AMD Dual Core Optimizer. But I doubt it'd be the problem if it doesn't happen in SA-MP or Singleplayer. MTA is a little more demanding than SA-MP. Try updating both your DirectX 9 (not 10 or 11) and your graphics drivers. That might fix the issue.
-
Become one then.
-
Unzipped then sent.
-
You can make a small and simple ID system with a few things in mind: - Showing the ID of the player on the scoreboard - The script has to be able to convert an ID into a player and ban him For ID generation, you can something as simple as a table: local playerIDs = {} function givePlayerID(player) local ID = #playerIDs + 1 -- This means that if there's nothing in the table, you'll get the table index count (0) + 1 = 1 playerIDs[ID] = player -- Add the player to the table -- MORE TO BE ADDED end addEventHandler("onPlayerJoin",getRootElement(),function() givePlayerID(source) end) -- Make sure the function is triggered whenever someone joins Now you have an ID system as basic as it can get. Problem is, you don't even know who has got what ID. To solve this, you have to show it in: - His nametag - Scoreboard Or both. For scoreboard implementation, see the scoreboard page on the wiki. For the use of nametags, you can use setPlayerNametagText and set the nametag to something like: The functions should be used inside the givePlayerID function I've mentioned earlier. It's best that you add them yourself, we're not here to do everything for you. Now we've got a problem: We can now give players IDs, well... whoop-dee-doo... But MTA doesn't know what to do with them. Therefore, "/ban 1" will still do absolutely nothing. Let's change that by adding a ban function: -- (NOTE: If a player has quit / banned, his ID will still remain occupied, and joining players will constantly get higher IDs) function banPlayerByID(ID) local player = playerIDs[ID] if player then -- If there's a player with the given ID local IP = getPlayerIP(player) -- We need to get the player's IP to ban him, since addBan either needs IP, Username or Serial. However, of those only IP actually works local success = addBan(IP,nil,nil) if success then outputChatBox("Bye bye sucker",getRootElement(),0,255,0) else outputChatBox("oshi",getRootElement(),255,0,0) end end end addCommandHandler("banid",function(player, cmd, ID) banPlayerByID(tonumber(ID)) end) One last thing remaining: Resources don't have the right to get the player's IP or ban him by default. To fix this, give the resource rights to: - getPlayerIP - addBan If you did the displaying correctly, then well hooray, it should work! Note that this script is for example purposes, which means it probably lacks major features. If you want things added, you should do it yourself (mostly) and mainly you should learn from this script, not just copy & forget. Also, I didn't test the script. I've never written something like this before and am therefore not 100% sure it'll work, but my guess is that it will. Hope it helps you get on your way a bit.
-
I also think it's in the name indeed. It smells like pure ban evasion. I recommend you to update admin with the one from here: http://multitheftauto-resources.googlec ... s-r514.zip These are newer than the 1.0.3 resources. Try to set your name to that name that wasn't bannable, and try to kick / ban yourself. If it still doesn't work, I recommend either finding out what in the name breaks it and reporting it, or just create a separate resource for the banning. (which doesn't rely on names)
-
Try doing tonumber(getElementData(...)).
-
setObjectStatic only disables them to move if I remember correctly. So disabling animations, and pushing objects etc. I don't exactly know if that's what you need, but I'd say try it and see if it's what you're looking for.
-
You can put some functions in a client-side script file to play the sounds. Alternatively, use this: callClientFunction If you paste the function code into a client script file and a server script file, you can call client functions from the server. I'm not exactly sure if it'd be 100% safe though, but it should be safer than callServerFunction.
-
- Approximately how many explosions are required to reproduce the crash? - Does it just happen to you or anyone else with the same problem? - Are there any crash dumps? If there are, upload them. You can cancel event onClientExplosion if there are too many explosions going on at the same time.
-
MTA currently has a huge lack of free scripters. You'll have to go study scripting yourself. (and with help from forums and IRC of course) http://robhol.net/guide/basics/
-
"type" parameter is not required. If not set, it will act as if it's set to "server".
-
About 1.0.3 : Block ability to edit game files
Gamesnert replied to solidsnake's topic in Suggestions
Like I also said in the news thread, servers mostly do not want modified game files. If they do want it, it's their choice to activate the ability. I don't see anything wrong with the idea, and especially not on the development side. -
Most servers do not want game file modders, not the other way around.