Gamesnert
MTA Contributors-
Posts
2,035 -
Joined
-
Last visited
Everything posted by Gamesnert
-
setCameraTarget
-
Oh really? Sorry to tell you this, but you dug your own hole. Source: Board index ‹ Multi Theft Auto 1.x ‹ Support ‹ Client < Error on mta:sa startup If you don't like cheating, you wouldn't visit "cheater servers", now would you? Besides that, you especially wouldn't install a cheat.
-
Since this entire topic is fail anyways: What server?
-
About your first problem: It's a simple typo. addEventHandler("OnPlayerWasted", g_root, DeathAdd) Note that "on" should not contain any capitals. It should be: addEventHandler("onPlayerWasted", g_root, DeathAdd) For the second problem, for the saving of data, you can also use account functions. Although these require the player to be logged in, they're simpler to use, and are not exactly name dependent. I'm not exactly an SQL expert. But as far as I can see, the executeSQLInsert is used in a fine way. By the way, for someone who's still learning Lua, you're doing pretty well.
-
Could you please tell us which ports you opened so we can be sure too?
-
Runcode Except for that you might be able to use some bugs to accomplish it, but that's just bug abuse.
-
You have to click the drop-down box in the upper left (saying "All projects", probably) and set it to "New Issues". After that a "Report issue" link appears near the top-center of the screen.
-
Documentation on using the web interface.
-
Yes, there are multiple versions of GTA SA. There were a few patches which stopped most mods (except repalcing models) from working. A de-patcher is found HERE.
-
Any mods? (not including MTA, I know that joke by now ) Is your GTA SA version 1.0?
-
Does GTA SA itself work? It doesn't exactly seem like it.
-
I presume this is MTA Race? If it is, let's just say: 1. It's severely outdated 2. I don't know what kind of OS that is, but if it's Vista, Race doesn't work with Vista 3. A new version of MTA which can't only run race, is still supported, working with Vista and even has the capability of scripting, has been released. The current version is MTA SA 1.0.2. It includes an improved version of the map editor and it's Race gamemode is better than ever.
-
Race pickups aren't "actual" pickups. Normal pickups can only be picked up on foot. Race uses its own system to get around that. Therefore, onPickupHit won't work. For detecting race pickup pickups, use onPlayerPickUpRacePickup.
-
Are you on wireless? Or any shit internet which may lose connection every certain amount of time? Wireless is quite unstable. It can lose connection for the simple reason of someone walking through its signal, or simply for no reason at all.
-
You know the lag was worse in MTASA Race... right? You know that that doesn't mean MTASA 1.0 doesn't have any trouble with lag at all... right?
-
If you've installed the RC editor properly in the resources folder, it should be listed under the "definitions" menu which can be openend with the "Definitions" button near the upper-center of the screen. Make sure "rollercoaster" or "rcg" or whatever it was called is on the right-hand side. Oh and btw, the F8 window serves as the "DOS" window in "Map editor" or "Create server" mode. Also, you can use them in the chatbox by simply putting a "/" in front of the command. For instance: (I guess you shouldn't import stealth that way though)
-
What kind of scripts do you want made? Non-RP is still kind of a little vague.
-
How about: bind j ss 70 In other words: bind [key] ([state]) [command] ([arguments ...]) "say" is just one of the possible commands. Every command is possible to bind. (well, I think every command...)
-
Just a small example of how it might work: function setStateToData() for index,vehicle in ipairs(getElementsByType("vehicle")) do -- Do this for every vehicle existing: local state=getVehicleEngineState(vehicle) -- See if the engine is on setElementData(vehicle,"engine",state,false) -- Store the result end end addEventHandler("onResourceStart",getResourceRootElement(),setStateToData) function vehicleEnterStuff() local state=getElementData(source,"engine") -- Get the stored data setVehicleEngineState(source,state) -- Set it to that end addEventHandler("onVehicleEnter",getRootElement(),vehicleEnterStuff) -- Make sure this happens if a player enters a vehicle function vehicleExitStuff() -- Exact opposite local state=getVehicleEngineState(source) setElementData(source,"engine",state,false) end addEventHandler("onVehicleExit",getRootElement(),vehicleExitStuff) There might be several issues with this, but well, I guess it should help out a bit.
-
The engineReplaceModel function currently doesn't replace collisions. Nothing to do about it except fixing it in MTA itself.
-
Hold your mouse over the "Create element" buttons and scroll your mousewheel.
-
Here's a scripting guide for you: The basics of MTA scripting - Robhol (read through this first though! ) Here's the page for the MySQL module: (only SQL is supported by default) MTA-MySQL Free resources download center: Community resource download center And of course the forum for any problems you encounter.
-
Ehm... Why do you even want to re-create a server? That's extremely pointless... If people want to play that mode, they just go to the original server instead of your rip-off one. And "improving" it isn't exactly a good argument... Also, not everything the server does is sent to the client. So even if you can, in some way, get the scripts, it'll only be partially.
-
Press the "Locations" button.
