
Gamesnert
MTA Contributors-
Posts
2,035 -
Joined
-
Last visited
Everything posted by Gamesnert
-
*HINT* Use the "Code" button to make some pieces a little easier to read. <meta> <info author="grievous" type="gamemode" name="police" description="Los Santos Police" /> <script src="script.lua" /> </meta> You're forgetting to do
-
http://development.mtasa.com/index.php? ... ash_screen http://development.mtasa.com/index.php? ... _on_launch http://development.mtasa.com/index.php? ... on_connect Should be one of these I guess.
-
OS? Data files installed?
-
Might be that some things indeed need to be simplified a little, even in the nightly as it is right now. For example: chatbox. An annoyance to an amount of people who switch from SA-MP to MTA (don't know exact amounts) and according to some of em even the reason to leave again... Possible solutions? GUI wise chatbox editor in settings or a proper in-game documented tutorial how to edit it. And Talidan, that's a lot of PHP warnings... Besides that, does every online server update it automatically? 7726 kills seems almost like the amount of MP5 kills that have been on my 1.0 server...
-
Here's the wiki page, if you need more info: http://development.mtasa.com/index.php? ... ateVehicle
-
How about a colshape which would activate a giant robot crushing that sad little person under it's feet/arms? It's simple: -Col shape -onColShapeHit -Not an admin or any other crap allowed to enter -Kill/destroy/annihilate/torture/hug/freeze/burn/slap/kick/ban/hack/help... Whatever That helps you?
-
The beauty of MTA is that it doesn't alter any file. If it would touch your files, it might eventually mess up or get stuffed with things you don't want. What MTA does is altering it in the memory, which seems like a pretty hard thing to do. (atleast, to me it does) It seems like it though that a downside of this is that you can't add anything, only replace stuff. Like vehicle models have to be replaced, no easy way to really add them. I'm not really an expert on this, but this seems to be how it works.
-
Now we're getting somewhere! I think... Not exactly your issue, but try the solution. It might fix your problem. (IF I understood you properly...)
-
And that means..?
-
1. Lua is pretty easy. Getting used to Lua, though, might take some effort. I've never tried Pawn, so I can't tell you if it's easier or harder, but from what I heard so far Lua is easier. 2. Server-side scripts are like the scripts in SA-MP. The server handles what you say. These functions are usually synched better than the client-side variants, and server-side offers some key functions like spawnPlayer. Whereas client-side is calculated and executed at the player's PC. This means it doesn't have to be send over the internet. Also it contains more graphical things like GUI. 3. You can start from the wiki. (the links I gave) Some parts may be a little confusing, but someone might improve it soon. Who knows. Anyway, best place to start learning how to use a server is HERE, best place to start for scripting is HERE. 4. I think it's the best to use Notepad++, simply because it's great. Loads fast, highlights pretty much all standard Lua functions and supports more languages than Lua alone. 5. Most of these are not properly documented (I think...) - Vehicle: Well, I guess you won't get to the limit very fast, because I guess it's as much as your PC can take. - Objects: I guess the same - Pickups: I guess the same - Markers: Corona's: 64, All other types together: 32 - Player: It was 128 or 256 I think... I'm not even sure IF there's a limit for players, but MTA uses a bit more net than SA-MP, so it's pretty much easier to hit your internet limit for this one, rather than the player limit If you have any more questions, feel free to ask. (Do try to search for em first though)
-
Time speed can be set in MTA 1.0, not in DP2.x yet. You'll have to wait for it. Or well, you can also set a 1 second forever looping timer which sets the time to what it's supposed to be, but the weather will generally mess up.
-
Why the '..' everywhere lol... Try removing those? Besides, it's onPlayerJoin, not OnPlayerJoin.
-
The problem is pretty easy, it's just a little hard to get this in the start. You're saying to the computer: When function "puertabaseopen" is executed, then move object "puertabase" and add command "abrirbase" You need the command to execute, while you're creating the command while it's executed. Confusing isn't it? Solution is simple though: puertabase = createObject ( 2933, 2463.39, -1659.11, 14.0203, 0, 0, 270.675 ) -- Object is being created function puertabaseopen() -- Function is being created moveObject ( puertabase, 5000, 2463.26, -1650.36, 14.0203 ) end addCommandHandler ( "abrirbase", puertabaseopen ) -- Execute function puertabaseopen when "/abrirbase" has been typed I hope that should make it a little easier to understand.
-
And this is working as it should be. Try getAttachedElements. I think it should return an empty table if nothing is attached. Might be an easier way, yet I think this'll do.
-
Afaik it doesn't pop-up on join. And eh, spawnPlayer doesn't work client-side...
-
What is the problem?
-
Now that's more like it. You can make a new script file inside freeroam resource, with onPlayerJoin and spawnPlayer. That should make the player spawn in the beginning, without having to disable the teleporting.
-
Eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeh... What's the problem... The only thing I can see is a little weird is DP2.1 in the lower-right corner, but I guess that's not what you meant.
-
http://code.google.com/p/multitheftauto ... loads/list Download that ZIP file, the driveby resource you want is optional>realdriveby.
-
1. Do not spam "!!!!" all the time. 2. Do not double post, ever wondered why there's an "Edit" button? I guess not. 3. What freeroam... Freeroam GUI? The beauty of that resource is that you can spawn wherever you like, why should you make a spawnpoint...
-
Can you post up a step-by-step description of how you're trying to do it? Should be something like this: 1. On one of the PC's, 'MTA Server.exe' should be started. Make sure you haven't disabled 'LAN Broadcast' in the 'mtaserver.conf'! 2. On the others, start MTA, go to 'Browse servers' (or whatever, something with browse), go to the LAN tab and you should see the server. I guess you've been using the "Host Game" button in the main menu. If so, I'm pretty much sure it's due to 'local.conf' having LAN broadcast disabled. Set 'donotbroadcastlan' (or something like that) to 0. mtaserver.conf and local.conf are both located in: [MTA (nightly) folder]/server/mods/deathmatch And they're both to be opened with Notepad. Just posted the last piece of info just to be sure, good luck.
-
Try: math.abs(rvz) Because vrz is probably a negative value, math.abs should make it positive. Just a wild guess, might work though.
-
Tried this? http://development.mtasa.com/index.php? ... on_connect