
Gamesnert
MTA Contributors-
Posts
2,035 -
Joined
-
Last visited
Everything posted by Gamesnert
-
https://wiki.multitheftauto.com/wiki/Kno ... atch.29.27 Tried that?
-
You might want to switch back to 1.0.1 for a moment, in there the " *** SYNC TROUBLE *** " wasn't implemented yet, and if I remember correctly, the same piece of code as making that text appear makes the game shut down after a while.
-
First of all, the server is responsible of what is happening over there. MTA devs are here to develop MTA and provide support in general. Giving server owners the needs to customize their servers to their likings, which the public has to either accept or just go to another server. Second of all, what are these "hacks" you speak of? Are you saying votekick is a hack? Or are people saying you're hacking? High pings can be really annoying for other players because you often miss such targets while those having lag seem to have no difficulty shooting non-lagging players. People might see this as a "hack". Finally, just because I wonder, how high is your ping actually? Do you have such pings in other games/servers too?
-
This means that you're doing something like this: table [ nil ] In the case of "gametext[1][player]", I'd say only "player" can become nil. Are you sure you're passing the right player through to the function?
-
I've once downloaded over 100 MB out of 800 on a server. So I guess it isn't a MTA limit.
-
I more like thought he meant that the camera passes through custom-made objects. As if clipping is disabled. I typed this post anyway so I'll just post it up for the heck of it. I think you've placed your map outside of the -3000,-3000 / 3000,3000 border. Beyond this, the camera won't clip to objects in it's way, simply because San Andreas was never intended to have those objects there in the first place and Rockstar apparently thought it would be good for performance or something. To "solve" this, move your map INSIDE -3000,-3000 and 3000,3000. You might only still be able to look through it if either camera clipping is disabled by script or driving in a fast vehicle, though. And Matimor, be a bit more clear what you're talking about next time... Preferably not using something like Google Translator. (translators are relatively good for looking up individual words, but translating sentences ****s them up)
-
function GameLoad () ped = createPed(0,0,0,10) local pX, pY, pZ, X, Y, Z, ang -- You can define all these vars in 1 line if ( Y > pY ) then ang = (-math.acos((X - pX) / math.sqrt((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 90.0) -- Don't forget "then", and Lua doesn't need semicolons elseif( Y < pY && X < pX ) ang = ( math.acos((X - pX) / math.sqrt((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 450.0) -- You need to use "elseif" here elseif( Y < pY ) ang = ( math.acos((X - pX) / math.sqrt((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 90.0) end -- Close the if with an "end" if(X > pX) then ang = (math.abs(math.abs(ang) + 180.0)) else ang = (math.abs(ang) - 180.0) end setPedRotation(ped1, ang) -- Where's "ped1" defined? setPedAnimation(ped1, "ped", "WALK_old", 0, 1, 1, 0) -- Where's "ped1" defined? end (Text after "--" are comments) Something like that I guess. The changes I've made might be a little confusing, but it's how if clauses work in Lua: if <check> then <action> elseif <check> then <action> else <action> end I'm also not sure why you did "ped1". I didn't touch it because perhaps you've defined it somewhere else, but in case you don't, change "ped1" to "ped" or vice versa. Something else quite unrelated, but still... Wouldn't you use math.atan2? Something like here: findRotation - findRotation useful function on the wiki You can of course also use that function itself if you want to, it's just that the code in the wiki looks a bit cleaner. (Fun fact: It seems like the example on that page is about the same thing as you wanted. You can change your code according to the Example) Hope it helps.
-
I have made a list from the source code of Hankey's a short time ago. Here is the list: I'll document these in the wiki sometime soon. Dunno exactly when.
-
You only need to notify other clients a sound is running. You can do this using: 1. Events. (triggerServerEvent + triggerClientEvent) 2. Element data, which is also synced in (most) occasions. (setElementData. Note though that this is only recommended for a low amount of uses. Doesn't require any server-side code though) If you want to know the distance, just supply the target position/element and let the client decide if he's inside the range or not.
-
There are limits on everything. I doubt you'd hit this limit very quickly though. Why not just try and see? It won't destroy your PC or anything.
-
The services are currently unavailable.
-
What's the point of making a new topic if you've already replied to an existing one...
-
None of the handling functions actually work yet, so there's no real point in using them. They were added in DP3, but removed rather quickly due to a lot of bugs.
-
Someone is already making this. * Gamesnert slaps Sebas
-
Go to admin -> conf -> settings.xml. Remove: If you still have admin packed in a zip file, look for the settings.xml in the resourcecache. Otherwise, resources. Oh and make sure you're admin.
-
Eh, no. Let me quote what DarkDragon said what the problem was: Therefore, this should do the trick: function startbus (thePlayer, command ) veh = getPedOccupiedVehicle ( thePlayer ) if (getElementModel(veh) == 431) then -- Here's the fix dragon suggested my = createMarker ( -2196.12, 324.12, 34.12, "cylinder", 2.5, 255, 255, 0, 255, thePlayer ) outputChatBox ( "#FF0000[bus Company] #00FF00Get to the first station, don't get too late!", thePlayer, 255, 255, 255) -- Company is with a Y, and don't should have an ' end end addCommandHandler("startbus", startbus)
-
You're probably using an old version of admin. The version of admin provided with MTA SA 1.0 has the serial check disabled.
-
First of all, don't double-post... Waiting for 17 minutes doesn't give you an excuse for this... Second of all, no there's not an option yet, but you can make one. Finally, if you're going to ask us to make one, most people have better things to do, so it'll be quicker to make it yourself.
-
I think you can write a (fairly) simple EDF for this. Scaling, that is. Problem is though, that collisions don't scale with the object.
-
Besides that, have you tried redownloading and THEN reinstalling?
-
Who ever told you: "Reinstall GTA SA"? What dragon meant is reinstall MTA.
-
It is used. Therefore, please don't double post that it's not. Problem is, you could have simply googled this. A corrupted file is a file which is, well, corrupted. Aka broken. It can break due to: Download messed up in some way Installation messed up in some way Hard disk messed up in some way Some application messed up in some way Windows messed up in some way You messed up in some way The thing you can best do is re-download and then re-install. (P.S. Old version? If you mean Race, Race doesn't exactly work with Windows 7)