botanist
Members-
Posts
613 -
Joined
-
Last visited
Everything posted by botanist
-
I'm kinda not busy with the editor anymore, and I'm going on vacation next week too. So development is going way slower than I planned, but I have to clear my mind. I can't script one project for longer than some time, or I'm getting confused by my own stuff. Can't really help this, although it creates time to create other stuff Also, lot has to be changed in the core to get some functions working. For example, the export function and more compact conversions. Exporting a handling is currently not reliable, and I even can't select text in the memo I used. That's gonna be some work, and thus the reason why export wasn't in yet. @ Kanoka: Oh sorry, my mistake. That's just a typo. Goto that line, and replace 'setModeHandling' with 'setModelHandling'. I'll fix it at googlecode tomorrow.
-
Just download the package from the download section, that one is sure to work. Also, if there are any problems, contact me. My mail/msn is in every fileheader of hedit. I'm probably not able to join the betatest, f*ck I hate my dad so much..
-
So, is this already an attempt to get a record amount of players on one server? Or will that be later? Also, it might be nice to have Hedit in, so users can have a nice peek to the handling functions
-
Read better. The release section redirects you to the googlecode page, which has a download section. Also, start the handling on server start is not implemented yet for self-created handlings. However, you can import a complete handling.cfg file and set loadDefaultsOnstart to true. Oh and tire size is not possible (yet). Only tirewidth in the modelflags section.
-
Click the image in my sig, that will probably make you very happy
-
Nope, he mentioned editting weapon.dat, not functions Which I made clear in my previous posts, but got rejected by Sharingan haha No, that's cheating. It would be great to have scripting options, otherwise I can download some sort of supahax and have infinite health, stronger weapons, and all kind of stuff other people don't like. You still don't understand, I mean doing it by server-side. Not cheating.
-
No, that's cheating. It would be great to have scripting options, otherwise I can download some sort of supahax and have infinite health, stronger weapons, and all kind of stuff other people don't like.
-
canhazhax? Better provide scripting functions for this; which are already been suggested.
-
Yes I know that. I never ever said it should be clientside either It should be serverside ofcourse.
-
showHelp can better be named as showMenu, so it's capable of all menus. further good udeas
-
Hmm, seems like we need a build-in DDoS prevention in any further MTA releases
-
Doownloads! Just mentioning, I will now upload packages to the googlecode downloadpage. These will be updated every 5 revisions, or when there's an important update. Have fun editting Also, I'm getting closer to a stable release, but since MTA 1.1 isn't finished yet, I'd like to have some ideas for exported functions and events. Anyone?
-
There we have it. SA:MP is f*cking up your SA installation, and MTA doesn't allow custom models unless you allow it manually. Use a separate San Andreas installation - which is clean, in order to use MTA on it's best way.
-
local playerTram = {} local passengers = {} addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "enter_exit", "down", tramFunc ) playerTram[source] = nil end ) function tramFunc ( player ) -- If theres a tram in range and the player should enter the tram local tram = getClosestTram ( player ) if tram and not playerTram[player] then if not passengers[tram] then passengers[tram] = {} end -- If there hasn't been a table assigned to the tram yet if #passengers[tram] < 5 then -- If it's not full (change 5 to whatever you want) passengers[tram][#passengers[tram]+1] = player playerTram[player] = tram attachElements ( player, tram ) setElementAlpha ( player, 0 ) setElementFrozen ( player, true ) end else detachElements ( player, playerTram[player] ) setElementAlpha ( player, 255 ) setElementFrozen ( player, false ) local x,y,z = getElementPosition ( playerTram[player] ) setElementPosition ( player, x, y, z+2 ) table.remove ( passengers[playerTram[player]]] ) playerTram[player] = nil end end function getClosestTram ( player ) local x,y,z = getElementPosition ( player ) local col = createColSphere ( x, y, z, 5 ) -- the 5 argument is the radius, change this if you want so local closest = { 0, nil } for i,v in ipairs ( getElementsWithinColShape ( col ) ) do if getElementType ( v ) == "vehicle" and getElementModel ( v ) == "449" then local a,b,c = getElementPosition ( v ) local distance = getDistanceBetweenPoints3D ( x,y,z,a,b,c ) if closest[1] < distance then closest = { distance, v } end end end return closest[2] end That's a very basic script. Didn't test it, and using killPed or such stuff will probably result in some problems on respawn. When I have my new monitor, I'll go in my personal server and make something epic for you, as this got my own interest too Also, I don't guarantee this works. It's late at my local time, and I'm pretty sleepy. Did this out of my head either, so the only way to know is to test it Let me know.
-
I got three GB DDR2, and it's.. well, fast. But that's all I can say about it
-
Which is different. That only outputs debug into the serverconsole, and this is about the debugbox ingame afaik.
-
And Diego: 1GB ram is like.. nothing.. That videocard? We dont even know the model. I don't think theres some awsum gpu in it with such a cpu. Biggest bottleneck ever then :')
-
I don't mind to make a basic start, I like to help people as best as I can. But if you say so Good luck, and let us know how it will work out
-
A simple idea: Bind "enter_exit" to some function, where you detect if the player is in range of the tram, if so attach him to the tram using attachElements and make him invisible. Also make some table where the entered players will be in. If the size of this table is 5, than tthen player can't enter the tram. I would love to make a basic script for you, but I'm unable to do so at the moment, as I'm on my iPhone
-
I understand you don't want to have your scripts being stealed by nubcakes, but bear in mind that decompiling is as easy as compiling is. Accordig to Zango and Orange there was some way to prevent that, but even then it wasn't fully secure. And wtf, stupid iPhone cut off my message I thought I included a link to another compiler. Lolwut, I don't get it. Why would I ever steal your script? I got no intention to do that at all, don't accuse me for nothing Also, when did I ever criticize your script? Actually, I think you did a very good job! There are no native functions to get the vehicle RPM, so you had to make these on your own. That's pretty neat you accomplished that
-
Why would you compile it when you had help for everything? There's no need for that, as the topics contain parts of your code.
-
To have debugscript on 3 as soon as the server starts, without having to write the command or bind a key. I agree with this function
-
Right, I see. http://bugs.mtasa.com/view.php?id=5717
-
Then you've had to tell me that, instead of asking to give.. I said I wasn't sure.
-
What. The. Fack? Didn't I just say the adminpanel can do this? Don't tell me you don't know about the adminpanel..
